Combo box-concatenate field and hide column

Shaft

Registered User.
Local time
Today, 07:44
Joined
May 25, 2005
Messages
51
Hi,

I have a combo box which is populated by a table with the fields ID, First Name and Surname. What I want to do is display the first name and surname concatenated and hide the ID column, but populate the field with the ID number.

Is this possible?
 
Sure. Base the rowsource on a query that concat's the names. Then make the first col the id fld, bind the control to it in the forms underlying recordsource and make the first col width '0'.

Make sense?
 
Worked like a dream. Cheers :D
 

Users who are viewing this thread

Back
Top Bottom