=?Utf-8?B?cmFwNDM=?= <(E-Mail Removed)> wrote in
news:525BB8B4-7D99-4CC6-9A45-(E-Mail Removed):
> To add a new record in a form, I am using a combo box to load
> a table from another table. The table I am loading to has two
> fields that I’d like to load with one combo box. I like to
> choose two fields in the combo box and load both fields in the
> record I am creating.
>
Give the combobox rowsource as many additional fields as you
want.Bind the controlsource of the combobox to the first column of
the table.
Make the control source of the additional fields =combobox.column
(n) where n is the zero-based index into the columns of the
combobox. This will show them on the form, but will not store the
additional columns in the table. They should not be stored
anyways, they should always be lookedup when you need them in a
form or report.
--
Bob Quintal
PA is y I've altered my email address.
--
Posted via a free Usenet account from
http://www.teranews.com