J
John Bildy
I have a simple Orders database.
The "New Orders" form allows new customers to be added directly onto the
form.
I also have a lookup combobox (to choose an existing customer) based on a
query:
SELECT DISTINCTROW [SurName] & " , " & [FirstName] & " , " & [Address] &
" , " & [City] & " , " & [PhoneHme] & " , " & [PhoneWrk] AS CustomerName
FROM Customers
ORDER BY [SurName] & " , " & [FirstName];
This combobox will not display customer names without an error message
saying "value isn't valid." May have text in a number field etc. The box
instead just displays the CustID number.
How can I get the combobox to display customer names (details) as per my
query?
If I set bound column to 0 instead of 1, names will show up fine, but they
are out of sync with customer details on the order form.
Thanks for any help.
The "New Orders" form allows new customers to be added directly onto the
form.
I also have a lookup combobox (to choose an existing customer) based on a
query:
SELECT DISTINCTROW [SurName] & " , " & [FirstName] & " , " & [Address] &
" , " & [City] & " , " & [PhoneHme] & " , " & [PhoneWrk] AS CustomerName
FROM Customers
ORDER BY [SurName] & " , " & [FirstName];
This combobox will not display customer names without an error message
saying "value isn't valid." May have text in a number field etc. The box
instead just displays the CustID number.
How can I get the combobox to display customer names (details) as per my
query?
If I set bound column to 0 instead of 1, names will show up fine, but they
are out of sync with customer details on the order form.
Thanks for any help.