N
nxqviet
Hi there,
My question is about writing a DlookUp statement, where the Criteria
can be found on a separate table.
For example,
Dlookup ("[LastName]", "tblNameList","[FirstName] = ' " &
[tblGuest]![FirstName] & " ' ")
The TblGuest contain only 1 row of data, thus, no addtional criteria
will be needed. I know that this code is wrong, but realy have a hard
time trying to fix it. I don't know how to accurately reference the
tblGuest table and the field [FirstName] in that table.
Please help me to complete this code.
Thanks for your help
V-
My question is about writing a DlookUp statement, where the Criteria
can be found on a separate table.
For example,
Dlookup ("[LastName]", "tblNameList","[FirstName] = ' " &
[tblGuest]![FirstName] & " ' ")
The TblGuest contain only 1 row of data, thus, no addtional criteria
will be needed. I know that this code is wrong, but realy have a hard
time trying to fix it. I don't know how to accurately reference the
tblGuest table and the field [FirstName] in that table.
Please help me to complete this code.
Thanks for your help
V-