J
John
I'm stumped. What I'd like to do is filter the contents of a list box as a
user types in a text box, keypress by keypress. Something like the way the
AutoExpand property works in a combobox, except that I'd like the listbox to
show only matching records.
Example:
Textbox:
Listbox: AAAA,AABA,ABBA,BACD,CAAA (from a table or recordset)
User types "A" in textbox,
Textbox: A
Listbox: AAAA,AABA,ABBA
User types a second "A" in textbox
Textbox: AA
Listbox: AAAA,AABA
User types a "B" in textbox
Textbox: AAB
Listbox: AABA
Any ideas greatly appreciated,
John
user types in a text box, keypress by keypress. Something like the way the
AutoExpand property works in a combobox, except that I'd like the listbox to
show only matching records.
Example:
Textbox:
Listbox: AAAA,AABA,ABBA,BACD,CAAA (from a table or recordset)
User types "A" in textbox,
Textbox: A
Listbox: AAAA,AABA,ABBA
User types a second "A" in textbox
Textbox: AA
Listbox: AAAA,AABA
User types a "B" in textbox
Textbox: AAB
Listbox: AABA
Any ideas greatly appreciated,
John