nested Dlookup

G

garye

Can I look up information in a table based on 2 fields and return it to
a form. I want to fill in the description of a job, but the job also
has a suffix, which is a seperate feild. Currently I have
this:=DLookUp("[description]","[Qry Open Jobs T&L]","[job] = [Job#]").
The problem is we have jobs with the same job number but different
suffix.
 
D

Douglas J. Steele

=DLookUp("[description]","[Qry Open Jobs T&L]","[job] = [Job#] AND [suffix]
= [Suffix#]")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top