Pulling data from Report to look up table value

P

Patrick Graham

I have a form that has the Advisors Name and
AdvisorCompanyID, I would like the report to use the
AdvisorCompany ID fromt he form to look up the
AdvisorCompanyName from a table.

Can I do this do I need to us DLOOKUP <--- just thought
of this
 
M

Marshall Barton

Patrick said:
I have a form that has the Advisors Name and
AdvisorCompanyID, I would like the report to use the
AdvisorCompany ID fromt he form to look up the
AdvisorCompanyName from a table.

Can I do this do I need to us DLOOKUP <--- just thought
of this


That's one way.

=DLookup("AdvisorCompanyName", "tableadvisors",
"AdvisorCompanyID = " & Forms!theform.advisorIDtextbox)
 

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