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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DLookup criteria

Status
Not open for further replies.

mypeljo

Technical User
Apr 16, 2010
12
BG
want to look up in the table products and find the code but only for those products where the supplier id is 2. My working function is :
=DLookUp("grossprice";"products";"Code=" &
Code:
)
How can i attach this condition?
 
=DLookUp("grossprice";"products";"Code=" &
Code:
 & " AND [SupplierID]=2")

John
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top