wildcard

  • Thread starter Thread starter Joel Allen
  • Start date Start date
J

Joel Allen

Hello,

I have the following criteria in a query. It will find anything with the
letter "H" in it and it works.

Like "*H*"

I want it to be a a prompt though when you run the query so that the user
would enter "H". I've tried everything and can't get it to work. Any help
is apprieciated.

Thanks,
Joel
 
Joel said:
Hello,

I have the following criteria in a query. It will find anything with the
letter "H" in it and it works.

Like "*H*"

I want it to be a a prompt though when you run the query so that the user
would enter "H". I've tried everything and can't get it to work. Any help
is apprieciated.


Like "*" & {Enter letter] & "*"
 
Thanks!

Marshall Barton said:
Joel said:
Hello,

I have the following criteria in a query. It will find anything with the
letter "H" in it and it works.

Like "*H*"

I want it to be a a prompt though when you run the query so that the user
would enter "H". I've tried everything and can't get it to work. Any
help
is apprieciated.


Like "*" & {Enter letter] & "*"
 
Thanks!

Jerry Whittle said:
Put this in the criteria:

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

Joel Allen said:
Hello,

I have the following criteria in a query. It will find anything with the
letter "H" in it and it works.

Like "*H*"

I want it to be a a prompt though when you run the query so that the user
would enter "H". I've tried everything and can't get it to work. Any
help
is apprieciated.

Thanks,
Joel
 

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