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

Multi-select list box - find a record/find as you type

Status
Not open for further replies.

r15gsy

IS-IT--Management
Jan 9, 2008
22
I am using a multi-select listbox which works fine and passes the selections to some code.

The listbox has a long list of data and I need to be able to quickly find an item.

How can I use a combo box to search, as it doesn't work with a multi-select list box.

If I click on the list I can search by 1st letter (i.e. B), is there a way to find as you type (i.e. Battery)

Thanks..
 
How are ya r15gsy . . .

Use a [blue]combobox[/blue] instead, and be sure to set its [blue]Auto Expand[/blue] property to [blue]Yes[/blue]. You'll get find as you type functionality . . .

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

Be sure to see thread181-473997
Also faq181-2886
 
Hi TheAceMan

Thanks for the reply, but i need multi select, hence listbox.
 
try this create a combobox with the same rowsource as the list and int theafter update of the ombobox

Code:
Me.Listbox.Selected(Me.Combobox.ListIndex) = True
 
pwise

That sounds ace, will give it a go.
 
pwise

Tried it and it sort of works.

It highlights the selection in the list, but does not jump the list to that row.
 
faq702-6304
faq702-6295
faq702-4398
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top