CETInnovator
Registered User.
- Local time
- Today, 09:30
- Joined
- Oct 11, 2012
- Messages
- 11
Hello,
I am working on a query and having some difficulty pulling back the information that I want. I would like to my query to prompt a user to enter in a customer name and have access return the contact information for the customer. The issue is that I can't figure out if I should use "Criteria" so that the prompt can act as a fuzzy search engine or should I be using VBA code. The criteria that I have is below:
Like '*'+[Enter Customer Name]+"*" Or Like '*[&]*' Or Like '*[-]*'
when I get my results, it pulls back the customer name that I've entered in the prompt and all other names that have an & sign or - in the name. I only want to pull up the name I entered and if the customer name has a special character, I would like for the query to recognize it.
Can anybody help me?
I am working on a query and having some difficulty pulling back the information that I want. I would like to my query to prompt a user to enter in a customer name and have access return the contact information for the customer. The issue is that I can't figure out if I should use "Criteria" so that the prompt can act as a fuzzy search engine or should I be using VBA code. The criteria that I have is below:
Like '*'+[Enter Customer Name]+"*" Or Like '*[&]*' Or Like '*[-]*'
when I get my results, it pulls back the customer name that I've entered in the prompt and all other names that have an & sign or - in the name. I only want to pull up the name I entered and if the customer name has a special character, I would like for the query to recognize it.
Can anybody help me?