Dear friends,
i've got the following problem with the dlookup function.
I use the function in a form and report, just to show information about the document.
The problem is that, it always shows me the first record and not the correct value.
I think syntax is ok.
compid is the clients id
key_workArea is the workarea id
key_workPosition is the workposition id
All fields are numerics, except workplace which is string.
=DLookUp("[WorkPlace]";"Document";"[Compid]=" & [compid] And "[Key_workArea]=" & [key_workarea] And "[key_workposition]=" & [key_workPosition])
Any recommendations?
Thank you in advance!
Costis
i've got the following problem with the dlookup function.
I use the function in a form and report, just to show information about the document.
The problem is that, it always shows me the first record and not the correct value.
I think syntax is ok.
compid is the clients id
key_workArea is the workarea id
key_workPosition is the workposition id
All fields are numerics, except workplace which is string.
=DLookUp("[WorkPlace]";"Document";"[Compid]=" & [compid] And "[Key_workArea]=" & [key_workarea] And "[key_workposition]=" & [key_workPosition])
Any recommendations?
Thank you in advance!
Costis