I need a wildcard to let me look for all the value in a field

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

Guest

I need a wildcard to let me look for all the value in a query in a specific
field, asking me for something and I may type any character and the use of *
or ? to retrieve them, but different anytime. EX: This time I want all
the customers that contain P* on the field, but next time I want customers
that contain C* and so on.
I'm using Access 2003.
 
Field: SomeField
Criteria: LIKE [Find What]

Then you type in the search string including the wild card(s).

Field: SomeField
Criteria: LIKE [Find What] & "*"

You type in what characters you want to find "C" or "P" and the wild card is
automatically appended to the end of your string.

If you want to find all records that contain the string, then the criteria
should read LIKE "*" & [Find What] & "*"
 

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