Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using a combobox to display foreign key information

Status
Not open for further replies.

Guru2B

Programmer
May 24, 2000
77
GB
User information is stored in one table. Account information in another. The account table contains a userid field. On form_load, a combobox is populated with firstnames and lastnames and the itemdata for each is populated with the userid from the user table. When I show a record from the account table, how do I set the text of the combobox equal to a userid? I'd like to keep the DB overhead as low as possible.

Thank you in advance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top