G
Guest
I have a dlookup function to automatically display the address when a company
name is selected and this works.
=DLookUp("[DeliveryAddress1]","tblcustomer","[CustomerID] =" &
Forms![Installation form]!CustomerID)
But when i go to a new record the fields show #error. As i fill in the
fields of this new record and come to filling in the company name the #error
in the address fields are replaced by the address. Does anyone know how to
get rid of the #error
name is selected and this works.
=DLookUp("[DeliveryAddress1]","tblcustomer","[CustomerID] =" &
Forms![Installation form]!CustomerID)
But when i go to a new record the fields show #error. As i fill in the
fields of this new record and come to filling in the company name the #error
in the address fields are replaced by the address. Does anyone know how to
get rid of the #error