Determining Whether a Specific String Exists in a Field

L

L.A. Lawyer

I want to determine whether a specific string of letters exists in a field
on the current field.

How is that done?
 
D

Douglas J. Steele

You can use LIKE for the criteria of a query:

SELECT Field1
FROM Table1
WHERE Field1 LIKE "*Lawyer*"

or you can use the InStr function.
 

Ask a Question

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.

Ask a Question

Top