I have a Main Form (frmProject), a subform (frmPO) and a nested subform (frmPO Line). There is also a table tblItems.
My nested subform has a combo box that picks up the Item ID and I am trying to set the Item Description (and Unit Cost - that will be another field) in the nested subform so I can calculate the total cost.
I have the following Lookup that is returning #Name, DLookup("[Item Description]", "[tblItems]", "[tblItems].[Item ID] = Forms![frmProject]![frmPO]![frmPO Line].[Item ID]")
Can anyone see a problem with the lookup?
Thanks,
Hillary
My nested subform has a combo box that picks up the Item ID and I am trying to set the Item Description (and Unit Cost - that will be another field) in the nested subform so I can calculate the total cost.
I have the following Lookup that is returning #Name, DLookup("[Item Description]", "[tblItems]", "[tblItems].[Item ID] = Forms![frmProject]![frmPO]![frmPO Line].[Item ID]")
Can anyone see a problem with the lookup?
Thanks,
Hillary