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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multiple Wildcards in Query

Status
Not open for further replies.

PWD

Technical User
Jul 12, 2002
823
GB
Good afternoon, Is there a way to have multiple wildcards in a query without having to have multiple "Matches Pattern"? For example if we have various departments that are sub-divisions of F8 or G8 or H8, my colleague wants to be able to use one filter instead of 3.

Many thanks,
D€$
 
Hi

F8, G8 & H8???

Skip,
[sub]
[glasses]Just traded in my OLD subtlety...
for a NUance![tongue][/sub]
 
Hi Skip, thanks for the response. I've done some more digging and it seems as if it has to be like this:

Matches Patter Value1%

OR

Matches Pattern Value2%

OR

Matches Pattern Value3%



Many thanks,
D€$
 
WHAT field is like those 3 values?

Skip,
[sub]
[glasses]Just traded in my OLD subtlety...
for a NUance![tongue][/sub]
 
This could be...
Code:
Where YourField like 'Value1%' 
   Or YourField like 'value2%'
   Or YourField like 'value3%'

Skip,
[sub]
[glasses]Just traded in my OLD subtlety...
for a NUance![tongue][/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top