Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I change this line to use it in a report?

Status
Not open for further replies.

NeoZakz

Technical User
Jul 22, 2002
25
0
0
US
=DLookUp("[suppl]","MAKEBUY","[part]=Forms![Change Board Records]![P_N]")

Thats the line I'm trying to change to use in a report for the same information. I tried to change it to this:

=DLookUp("[suppl]","MAKEBUY","[part]= Reports![CBR Report]![P_N]")

But that didn't work. Anyone got any ideas?
 
=DLookUp("[suppl]","MAKEBUY","[part]='" & Reports![CBR Report]![P_N] & "'")

should do it for you.


Ben
----------------------------------
Ben O'Hara
bo104@westyorkshire.police.uk
----------------------------------
 
Thanks a lot, I'll go give it a shot now.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top