Where clause

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How do I use a WHERE clause in a RecordSource Select statement to find all
values in a text field that START WITH a certain string, instead of just
being equal to a certain string?
 
Use the Like operator, with a trailing wildcard, e.g.:
WHERE Surname Like "D*"

If you have not downloaded this Search Form example yet:
http://allenbrowne.com/ser-62.html
it does demonstrate that capacity on the company/surname field.
 

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

Back
Top