I have a AUCTION form, it has a combo box and the label for this combo box
is called seller. This combo box is a look up to the USER table which has the following fields:
uid, uname, city, state
The combo box is pulling and displaying a drop down list of uname from the USER table, with this SQL state in the "row source".
in the control source of this combo box I have seller, and the form's record source is AUCTION, tagging on the AUCTION table.
the problem is the form is putting the uname into the AUCTION table's seller field, but I want it to input the uid field, however that it should still show the uname list when the user click on the combo box to make a selection.
How can this be done?
Thanks a lot!!
is called seller. This combo box is a look up to the USER table which has the following fields:
uid, uname, city, state
The combo box is pulling and displaying a drop down list of uname from the USER table, with this SQL state in the "row source".
Code:
SELECT user.uname FROM [user] ORDER BY user.uname;
in the control source of this combo box I have seller, and the form's record source is AUCTION, tagging on the AUCTION table.
the problem is the form is putting the uname into the AUCTION table's seller field, but I want it to input the uid field, however that it should still show the uname list when the user click on the combo box to make a selection.
How can this be done?
Thanks a lot!!