I first created a table called "Tnames_and_addresses" -
field "code" (auto number primary key)
field "surname"
field "first_name"
5 fields for 5 lines of address.
THEN created a form based on this table. putting all the
address fields from the field list. then created a combo
box using the wizard. "which table or query should
provide the values for your combo box?" I
chose "Tnames_and_addresses"
Values in the combo box - "code" "surname" "first_name"
ticked "remember value for later use" as i didnt want to
store it -
FINE. I can select the correct full name -
BUT it does not update the address textboxes on the form.
I also tried setting the combo box properties - row
source to SELECT DISTINCTROW but that didnt work.
Also did a complete new database with just the one table
and one form to try it all again, cant see what I am
doing wrong.
-----Original Message-----
Hi,
If you create your combo with the wizard, it will write the code for you to make
this happen.
If you've already tried that, post back with more info.
--
HTH
Dan Artuso, Access MVP
"Evelyn Ballantyne" <
[email protected]> wrote in
message news:
[email protected]...