Query - partial name

  • Thread starter Thread starter Steve
  • Start date Start date
S

Steve

Hi...I have a program designed where we can input a specific vendor number,
and the query will pull up all the data related to that vendor. I would like
to have a query where the user can put in a PARTIAL vendor name, and the
program search for all records with those characters in the name. Does
anyone know how to do this???
 
Use the Like function.
This one you enter the start of the name.
Like [Enter Vendor name] & "*"

This one you enter any part of the name.
Like "*" & [Enter Vendor name] & "*"
 
Steve said:
Hi...I have a program designed where we can input a specific vendor number,
and the query will pull up all the data related to that vendor. I would like
to have a query where the user can put in a PARTIAL vendor name, and the
program search for all records with those characters in the name.

The new query's criteria for the vendor name field would be
along these lines:

Like "*" & [Enter partial vendor name] & "*"

If you want to be able to enter either a venfor number or a
partial vendor name, put that on the OR line under the other
criteria.

If that's not close to what you need, post back with a more
detailed explanation of "where the user can put ..."
 
Thanks!

KARL DEWEY said:
Use the Like function.
This one you enter the start of the name.
Like [Enter Vendor name] & "*"

This one you enter any part of the name.
Like "*" & [Enter Vendor name] & "*"

--
KARL DEWEY
Build a little - Test a little


Steve said:
Hi...I have a program designed where we can input a specific vendor number,
and the query will pull up all the data related to that vendor. I would like
to have a query where the user can put in a PARTIAL vendor name, and the
program search for all records with those characters in the name. Does
anyone know how to do this???
 

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

Partial Match query design 3
Duplicates in union query 3
Select Query & Crosstab Query 1
Update Query 4
User Input Query 1
Normalizing Vendor Names 1
Query Criteria not filtering out correctly 5
crazy query 5

Back
Top