Wildcards in parameter queries

K

KristianAA

How do I make it possible for a user of a access 2003 db to use wildcards in
a parameter query? I.e. entering Nicolas will make the query list all records
with Nicolas in a particular field - a field that can contain several names.
Entereing let's say *Nicolas* doesn't do the trick.
 
J

Jerry Whittle

Something like the following in the criteria:

"*" & [Enter the First Name] & "*"
 
J

Jerry Whittle

Karl's is correct. I forgot the LIKE
--
Jerry Whittle, Microsoft Access MVP
Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.


Jerry Whittle said:
Something like the following in the criteria:

"*" & [Enter the First Name] & "*"
--
Jerry Whittle, Microsoft Access MVP
Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.


KristianAA said:
How do I make it possible for a user of a access 2003 db to use wildcards in
a parameter query? I.e. entering Nicolas will make the query list all records
with Nicolas in a particular field - a field that can contain several names.
Entereing let's say *Nicolas* doesn't do the trick.
 

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