incremental search

M

michael

How do one setup an increment search. An active serach that display the
result as you typed. Example: while typing the smith, the search result
window will display all results beginning with "S" when "S" is typed, all
results of "Sm" is displayed when the next letter"m" is typed and so on.
 
A

Anand.V.V.N

Hi,

I am not sure if this would help , as in your example use query the table in
whihc you have stored the values and populate it in the combo box. For
example in case the user types you might use select * from table where name
like %s%, I am not sure about the exact synatx thoguh, so every time the user
types the name, you query the table with the text and populate the combo box
usign a for loop. I think combo box has a text property that would give you
the current selected text.

Hope you find this useful.

Anand
 

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