Wild Card in response

G

Glenda

In a report / Query, I'd like for the database to recognize all inputs that
are similar to the field. In the Query I am putting [Title?]. What do I
need to add so the responses will e.g. include all titles that include the
word "happy"?
 
J

John W. Vinson

In a report / Query, I'd like for the database to recognize all inputs that
are similar to the field. In the Query I am putting [Title?]. What do I
need to add so the responses will e.g. include all titles that include the
word "happy"?

Use a criterion of

LIKE "*" & [Title?] & "*"
 
D

Daryl S

Glenda -

If [Title?] is the parameter, and the user would enter "happy", then in your
critera, use this:
Like "*" & [Title?] & "*"
 
G

Glenda

wow, in a million years I wouldn't have thought of this... thank you both
--
Glenda


John W. Vinson said:
In a report / Query, I'd like for the database to recognize all inputs that
are similar to the field. In the Query I am putting [Title?]. What do I
need to add so the responses will e.g. include all titles that include the
word "happy"?

Use a criterion of

LIKE "*" & [Title?] & "*"
 
G

Glenda

in a million years I wouldn't have thought of this, thank you
--
Glenda


Daryl S said:
Glenda -

If [Title?] is the parameter, and the user would enter "happy", then in your
critera, use this:
Like "*" & [Title?] & "*"

--
Daryl S


Glenda said:
In a report / Query, I'd like for the database to recognize all inputs that
are similar to the field. In the Query I am putting [Title?]. What do I
need to add so the responses will e.g. include all titles that include the
word "happy"?
 

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

Similar Threads


Top