Select record in combo and populate textbox

thmsjlmnt3953

Registered User.
Local time
Today, 06:43
Joined
May 20, 2014
Messages
120
Hi,

im looking to have a combobox on a unbound form to select a product code (this i can do)
however i want a textbox to auto populate with the description aswell - both in the same table tblproducts - product_id,pcode,pdesc

any help would be fab
 
You would use a Dlookup as the source for that textbox. It would look up pdesc from your table based and you would use the value from your combobox as criteria.

With that said, you could have all the information display in that combobox. They aren't limited to showing just 1 column of data. It would look something like this:

P1 | Product 1
P2 | Product 2
P3 | Product 3

This is especially helpful for people not familiar with product codes, that way they get to see the description when they are selecting which one to use.
 

Users who are viewing this thread

Back
Top Bottom