Pulling data from Report to look up table value

  • Thread starter Thread starter Patrick Graham
  • Start date Start date
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
 
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)
 
Back
Top