Monia,
Well, I'm not sure what the difference between selecting 1 of 5000 names
and 1 of 5000 IDs is but...
No need for a combo to display the ClientName, a calculated text control
will do it.
Create a combo (ex. cboClientID) with ID in the first column, and
ClientName in the second column. Use a query with those two fields as the
RowSource for the that combo. As the user types an ID, the combo will
attempt to find that ID from it's list.
Add an unbound text control (ex. txtClientName) to the form with a
ControlSource of...
=cboClientID.Column(1)
Whenever the user selects a Client ID, the calculated control will
display the associated ClientName. (Combo box columns are numbered 0,1, 2,
etc...)
--
hth
Al Camp
Candia Computer Consulting - Candia NH
http://home.comcast.net/~cccsolutions