dlookup doesn't work can someone help me out...?

gino

Registered User.
Local time
Today, 23:21
Joined
Mar 16, 2000
Messages
117
i am trying to get my dlookup to work to lookup a value based on the form i am placing this dlookup. for example
i have a field called sbcuid and i want my dlookup field to find a record in another table based on that field. here is what i got so far.

=DLookUp("[EMPLOYEE NAME]","[tbl_sbcuid]","sbcuid")

my criteria is incorrect i think and i can't figure out this one.

your help would be greatful. thank you.
 
Rather than

=DLookUp("[EMPLOYEE NAME]","[tbl_sbcuid]","sbcuid")

try

=DLookUp("[EMPLOYEE NAME]","[tbl_sbcuid]","[Employee ID] = " & [sbcuid])

I am guessing that the last is an ID code, so instead of [Employee ID] use whatever field works there.
 

Users who are viewing this thread

Back
Top Bottom