G
Guest
For some reason I have the hardest time with DLookup syntax. Please help!
I'm trying to lookup a contact name in tblMembership where MEMBER_ID (in
tblMembership) = Primary_Contact in tbl Business. Here's my DLookup:
PriContactName: DLookUp('[FIRST_NAME] & " " &
[LAST_NAME]',"[tblMembership]","[MEMBER_ID]=" & [Primary_Contact])
I'm getting the following error message:
Syntax error (missing operator) in query expression '[MEMBER_ID]='.
For the life of me I don't know why it's giving me this grief.
thanks.
I'm trying to lookup a contact name in tblMembership where MEMBER_ID (in
tblMembership) = Primary_Contact in tbl Business. Here's my DLookup:
PriContactName: DLookUp('[FIRST_NAME] & " " &
[LAST_NAME]',"[tblMembership]","[MEMBER_ID]=" & [Primary_Contact])
I'm getting the following error message:
Syntax error (missing operator) in query expression '[MEMBER_ID]='.
For the life of me I don't know why it's giving me this grief.
thanks.