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

Wildcard Search - what's wrong?

Status
Not open for further replies.

net123

Programmer
Oct 18, 2002
167
US
I am trying to do a wildcard search on my page with the following code:

Dim queryString As String = "SELECT [tblX].* FROM [tblX] WHERE ([tblX].[XYZ] like @Search)"
[/blue]
I have tried different variations of syntax, but I can't seem to get the "" in the right place.

 
SELECT ContactName FROM tblContacts WHERE Last Like" & strSQL

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top