G
Guest
I am using Visual Studio 2003.
In the standard combobox control it would appear that only 1 column of data
can be displayed in the list (as stipulated in the DisplayMember property).
In VBA it was always possible to specify a column count and then set the
width for each column (setting 0 width for columns not to be displayed). The
Bound Column property was then specified to set the data to be retrieved from
the control (the ValueMember property being the equivalent).
I would like to display 2 columns of data in the list to make it easier for
the user to select the correct data (ID and description). Once the selection
is made then only the ID is shown in the control text.
I can't see how to do this in VS 2003. Does anybody have any suggestions?
In the standard combobox control it would appear that only 1 column of data
can be displayed in the list (as stipulated in the DisplayMember property).
In VBA it was always possible to specify a column count and then set the
width for each column (setting 0 width for columns not to be displayed). The
Bound Column property was then specified to set the data to be retrieved from
the control (the ValueMember property being the equivalent).
I would like to display 2 columns of data in the list to make it easier for
the user to select the correct data (ID and description). Once the selection
is made then only the ID is shown in the control text.
I can't see how to do this in VS 2003. Does anybody have any suggestions?