How to use the Like operator in Parametric queries?

G

Guest

How do I use the Like operator in parametric queries which prompt the user to
enter part of the value for a field?
 
F

fredg

How do I use the Like operator in parametric queries which prompt the user to
enter part of the value for a field?

To find records with the entered value anywhere in the field:
Like "*" & [Enter phrase] & "*"

To find records with the entered value only at the end of the field:
Like "*" & [Enter phrase]

To find records with the entered value only at the beginning of the
field:
Like [Enter phrase] & "*"
 

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