filtering listbox while typing in a textbox

M

Mario M

Hi there ,

I have a form with a textbox called "TxtSearchCustomer" and a listbox called
"lstCustomers"

I already found out how to filter the data when i typed some value in a
textbox but this in the afterupdate event. this means the data will be
available after the textbox has lost focus.
Is there a way to filter the listbox while typing into the textbox and reset
the listbox when the textbox is empty ?

many thanks
Mario
 
G

Guest

Use the Change event of the text box. The Change event fires after every key
stroke
 

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