Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Wildcard Question

Status
Not open for further replies.

MichaelSS

MIS
Apr 13, 2005
3
US
I have a query that asks for the persons last name. I want the user to be able to see the whole list if he doesn't know the last name. I know you use the wildcard but I am not sure how to get the coding correct.

Here's what I have in criteria:
[Enter the persons last name (* for wildcard):]

Can anyone help?
 
Enter this in the query criteria:

Like "*" & [Type Last Name or Enter for all:] & "*
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top