auto fill

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a table containing two columns, "part number" and "description". I
would like to make a form with a combo box contianing the part number and I
would like it to auto fill the description. Can someone help??
 
Chris said:
I have a table containing two columns, "part number" and "description". I
would like to make a form with a combo box contianing the part number and I
would like it to auto fill the description.


Change the combo box's RowSource query to retrieve both
columns.

SELECT partnum, descr
FROM thetable
ORDER BY partnum

If you don't want to see the description in the dropdown
list, set it's corresponding ColumnWidth to 0.

Then the text box can just use the expression
=combobox.Column(1)
to display the selected part's description.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top