How to creat a Search Text Feild in upon a ListBox

  • Thread starter malik via AccessMonster.com
  • Start date
M

malik via AccessMonster.com

Hi

I want to creat a Text Feild on a List Box from I can search by typing in
the text Feild.

Thanks
 
D

Danny Lesandrini

Are you saying that you want to FILTER a LISTBOX by the text supplied in a
TEXTBOX?

Dim strSQL as String

strSQL = "SELECT * FROM qryListBoxQuery WHERE [FieldToFilter] LIKE '" &
Nz(Me!txtFilter, "*") & "'"
Me!lstListBox.RowSource = strSQL
 

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