G
Guest
Can anyone see what I´m doing wrong here?
I created a textfield in a form.
Then I have tried some different codes for the field.
=DLookup("[A]";"";"[C]=[D]")
This returns the first record in table B.
=DLookup("[A]";"";"[C] = '" & [D] & "'")
This returns the error data type mismatch.
They are all textfields, and I have tried different ways.
Cant get it to work.
I have used DLookup several times before, and it has always worked before.
I´m no expert in any way, so pls be nice to me.
/Claes
I created a textfield in a form.
Then I have tried some different codes for the field.
=DLookup("[A]";"";"[C]=[D]")
This returns the first record in table B.
=DLookup("[A]";"";"[C] = '" & [D] & "'")
This returns the error data type mismatch.
They are all textfields, and I have tried different ways.
Cant get it to work.
I have used DLookup several times before, and it has always worked before.
I´m no expert in any way, so pls be nice to me.

/Claes