my code is similar to what you see below. I am not using a stored procedure and i'm not going to but the problem is this. this query below when executed only checks the first part of the "myfield". as an example if i were to type in the word dog for "myinput", i would want the query to return all records that contain the word dog somewhere in "myfield". what do i have to change to get this query to do that. thanks.
Dim strSearch
Dim strSQL
strSearch = Request.Form("myinput"
strSQL = "SELECT * FROM mytable WHERE myfield LIKE '" & strSearch & "%'"
Dim strSearch
Dim strSQL
strSearch = Request.Form("myinput"
strSQL = "SELECT * FROM mytable WHERE myfield LIKE '" & strSearch & "%'"