Not sure what you mean by "updating" the second value on
selecting the first, but for the time being I'll assume
you mean to have it display on your form.
This is a frequent situation and raises several issues:
- the drop-down list actually "selects" only one value;
the value referred to in the Bound Column property of the
combo or list box. If you display, say, the CustomerID
and the Customer Name, e.g. in your combo box, and the
Bound Column is 1, then the customer ID of the row
selected is entered into the control and stored in the
field specified in the Control Source property.
- If you wish to *display* columns other than the Bound
Column for your user's convenience, use a call to the
Column property, e.g., to store the 2nd column of the
combo box named cbxCustomer in a textbox, set the textbox'
Control Source to:
=Me!cbxCustomer.Column(1)
'1' because Column the first column is zero, 2nd 1, etc.
- If you're trying to store this second value in another
field table, this is generally not recommended because
it's redundant and wastes disk space. Exceptions include
time-dependent values such as the cost of a product at the
time of an order.
HTH
Kevin Sprinkel