Combo Box - Bound to column in table

K

Katherine

I am trying to do something simple with a combo box. I want it to display as
options all the different entries in one column of a table - the third column
from the left. However, no matter what I do with the settings, it always
shows a list of the entries in the first column in the table (the leftmost
one) - not the third column, even though that one is listed as its "control
source" under properties. Even when I change the number in the "bound
column" box, this does not change. How do I make it work?

Thanks,
Katherine
 
K

Klatuu

Has to do with what the row source of the combo is, and which column of the
combo you want visible. If the column in the combo (not the form) is the 3rd
column is the one you want to show, then you need to set the combo's column
width properties so it is the only one visible;

0";0";3.5"

Will make the first two columns hidden and the third 3 1/2 inches wide.
See VBA Help on the Column Widths property for details.
 
K

Katherine

Thanks!

Klatuu said:
Has to do with what the row source of the combo is, and which column of the
combo you want visible. If the column in the combo (not the form) is the 3rd
column is the one you want to show, then you need to set the combo's column
width properties so it is the only one visible;

0";0";3.5"

Will make the first two columns hidden and the third 3 1/2 inches wide.
See VBA Help on the Column Widths property for details.
 

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

Top