I have 2 tables. Table 1 is named Data, table 2 is named LOOKUP. The Data table contains 2 fields, Item and Price. The LOOKUP table contains 1 field, Item. I want to bring the price information to the LOOKUP table from the Data table by using the DLOOKUP function.
I created a query from the LOOKUP table. Here is my DLOOKUP function:
Price: DLookUp("[Price]","Data","[Item]=" & [Item])
It's giving my all #Error in the Price field. Am I doing something wrong?
Data:
Item-----------Price
TXTU8694----896,298
SZUL5554----719,461
FNLY9576----682,219
LOOKUP:
Item-----------Price
TXTU8694
SZUL5554
Desired result:
Query:
Item-----------Price
TXTU8694----896,298
SZUL5554----719,461
I created a query from the LOOKUP table. Here is my DLOOKUP function:
Price: DLookUp("[Price]","Data","[Item]=" & [Item])
It's giving my all #Error in the Price field. Am I doing something wrong?
Data:
Item-----------Price
TXTU8694----896,298
SZUL5554----719,461
FNLY9576----682,219
LOOKUP:
Item-----------Price
TXTU8694
SZUL5554
Desired result:
Query:
Item-----------Price
TXTU8694----896,298
SZUL5554----719,461
Last edited: