How can a User use wildard * in a "parameter required" form/Query

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

Guest

Using Access 2003. I have Created a Query with a parameter for one of the
fields. I would like the users to be able to use wildcards in the parameter
pop-up box.
 
Using Access 2003. I have Created a Query with a parameter for one of the
fields. I would like the users to be able to use wildcards in the parameter
pop-up box.

As criteria on that search field, write:

Like "*" & [Search for?] & "*"

No need for the user to enter the wildcard character.
 
On Thu, 3 May 2007 14:33:00 -0700, Carol Black <Carol
Using Access 2003. I have Created a Query with a parameter for one of the
fields. I would like the users to be able to use wildcards in the parameter
pop-up box.

Use a criterion of

LIKE [Enter parameter:]

instead of just the parameter.

To automatically include wildards, you can use

LIKE [Enter parameter:] & "*"

for example.

John W. Vinson [MVP]
 

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