What you want to accomplish can be done like this...
Me.txtClientID = Me.cboClientName.Column(3)
The index for Column starts at zero. To get the fourth column, use three.
However, I would highly recommend you do this...
Change the order of your query to put ClientID first.
In the properties of cboClientName:
Set the Bound Column to 1.
Set the Column Count to 4.
Set Column widths to 0";1";.5";1"
Set List Width to 2.75" (always set List Width to total of Columns widths plus 0.25" to allow for scroll bar)
Throw away the txtClientID field and just use cboClientName as the field that has the ID. You might want to rename cboClientName to cboClientID to keep things clear.
QED. No coding required.
This assumes that you don't really need the First Name of the client in cboClientName and that you don't need to show the users the ID number.
Randall J Weers
Membership Vice President
Pacific NorthWest Access Developers Group
http://www.pnwadg.org