In a query (in criteria) how do I promp for a "substring"?

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

Guest

I need to have the query promp for an input, and with that input, I want to
return all the entries that contain such input as a substring. Thank you.
 
In query design, in the criteria row under the text field you want to
search, enter:
Like "*" & [Search for what] & "*"

Use any name you wish if you don't like "Search for what". As long as it is
not actually a field name or a reserved word, Access will understand it as a
parameter.
 

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