Combo box display

Gavx

Registered User.
Local time
Tomorrow, 05:45
Joined
Mar 8, 2014
Messages
155
On a form I have a combo box with the following details;

Control source = Customer ID
Column Count = 2
Column Width = 0;4
Row Source = SELECT Customer.CustomerID, [Surname] & ", " & [FirstName] AS CustomerName FROM Customer ORDER BY [Surname] & ", " & [FirstName];
Bound Column =1

When I click on the drop down arrow it displays the 2 columns - perfect. But when I select the record is displays the CustomerID whereas I want it to display the CustomerName as returned by the Row Source SQL statement.

Can this be done?
thanks
 
Change the property "Bound column" to 2.
 

Users who are viewing this thread

Back
Top Bottom