Computing.Net > Forums > Programming > search with sql vb6

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

search with sql vb6

Reply to Message Icon

Name: Anthony Arde
Date: June 20, 2005 at 03:49:18 Pacific
OS: winxp pro sp2
CPU/Ram: 386mb ram p3 733
Comment:

Please can someone help me with an sql search query, i want to be able to find a record but typing letter for letter, like winamps search feature for songs,
eg- i type in "a" and it finds all records starting with "a" and so on, please help, thanks, Anthony



Sponsored Link
Ads by Google

Response Number 1
Name: StuartS
Date: June 20, 2005 at 06:03:15 Pacific
Reply:

Use the LIKE keyword.

SELECT * FROM Database WHERE Surname LIKE A*

Lookup LIKE in the help files. There are lots of information on different parameters you can use.

Stuart


0
Reply to Message Icon

Related Posts

See More


Help on including pthread... .NET combo boxes



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: search with sql vb6

connect VB6.0 with SQL 7.0 www.computing.net/answers/programming/connect-vb60-with-sql-70/5691.html

VB Help! searching database www.computing.net/answers/programming/vb-help-searching-database-/6528.html

Database programming with SQL www.computing.net/answers/programming/database-programming-with-sql/7453.html