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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

listbox vs. combobox

Status
Not open for further replies.

joeblow3

Programmer
Jun 9, 2008
21
CA
Hi:

I have a listbox which has a Select statement( which returns two columns) as its Row Source.

Now, when I change the listbox to a combo box it works fine except that the dropdown choices show both the columns but when I select a choice, it only finally shows the first column.

The Combo box properties are all ok. It shows the same Row Source Type, Row Source, Column Count, Column Width, etc.

How can I please solve this.

Thanks in advance.
 
Comboboxes will only show one result. However, you can get round this by setting the row source to include two columns in one, for example:

RowSource: SELECT PersonID, Forename & " " & Surname FROM Persons
 
How are ya joeblow3 . . .

have a look at the [blue]Bound Column[/blue] property!

Calvin.gif
See Ya! . . . . . .

Be sure to see thread181-473997 [blue]Worthy Reading![/blue] [thumbsup2]
Also faq181-2886 [blue]Worthy Reading![/blue] [thumbsup2]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top