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

Populate list box from db based on value keyed

Status
Not open for further replies.

mrguru

MIS
Mar 12, 2002
15
US
Problem: User needs to select a street name from a table of over 700,000 records. To populate the dropdown list of distinct values takes too long to process. Is there a way to narrow down the DB query for the list box based on the first character(s) the user keys into the selection box?
 
Are you refering to submitting the first character to the server and running a LIKE query
Code:
where street LIKE 'C%'


-pete
[sub]I just can't seem to get back my IntelliSense[/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top