Hi
I have the following in the control source of a text box in a custom form within the MS Access Purchasing Database Template
I want to lookup the total sale of an OrderID from the Orders by Customer subform.
Can anyone see anything blatantly wrong with this?
Thanks
I have the following in the control source of a text box in a custom form within the MS Access Purchasing Database Template
Code:
=DLookUp("[Total Sale]","[Forms]![Orders by Customer Subform]","[OrderID]='" & [Forms]![Orders by Customer Subform]![OrderID] & "'")
I want to lookup the total sale of an OrderID from the Orders by Customer subform.
Can anyone see anything blatantly wrong with this?
Thanks