K
Ken Snell [MVP]
SELECT Tablename.*
FROM Tablename
WHERE Tablename.FieldName Like "*" & "YourText" & "*";
FROM Tablename
WHERE Tablename.FieldName Like "*" & "YourText" & "*";
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Ken Snell said:OK -- ASP uses ADO, not DAO, for SQL syntax. % is the wildcard in ADO, while
* is the wildcard in DAO.
Dim strSQL
strSQL = "SELECT banemail .* FROM Tablename WHERE '" &
VariableWithSubmittedEmail & "' Like '%' & banemail.email & '%';"
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.