Hi I have 2 forms a main form and a subform. I want to check a table for a unit cost based on the item no and customer no retrieved from the 2 forms.
Here is the code that dosent work.
Me![UnitCost] = DLookup("[Price]", "[Item-Price-File]", "[ItemUnique-No] = Forms![Purchase-Order-Input]![PO-Detail].Form![Item-No] And [Customer-No] = Forms![Purchase-Order-Input].Form![Combo90]")
Kind Regards
Neil.
Here is the code that dosent work.
Me![UnitCost] = DLookup("[Price]", "[Item-Price-File]", "[ItemUnique-No] = Forms![Purchase-Order-Input]![PO-Detail].Form![Item-No] And [Customer-No] = Forms![Purchase-Order-Input].Form![Combo90]")
Kind Regards
Neil.