"Contians" criteria

Haz

Registered User.
Local time
Yesterday, 21:08
Joined
Jan 31, 2007
Messages
39
can anyone help please, I haven't search this forum for function or anything relatated to contain criteria...

I want to have criteria search for parts contains specific characters. For example in a query, i have part like QS7000A and another part QS6000A. I want to have creteria to return parts that contians 6000 or 7000.

As always, thanks for the help
 
Try using "Like" The asterisk ("*") is the wild card.

Like "QS*"

or

Like "QS*A"
 
Try using "Like" The asterisk ("*") is the wild card.

Like "QS*"

or

Like "QS*A"

using what you said is not bringing anything. I just want to select parts contains the middle part which 6000 or 7000.
 
i got it working with the wild card

Like "*" & [7000] & "*"

but, how can I have the result displayed without entering a parameter.
 
It's asking you for a parameter because you have brackets around the 7000.

Instead of this:

Like "*" & [7000] & "*"

Use this:

Like "*7000*"
 
It's asking you for a parameter because you have brackets around the 7000.

Instead of this:

Like "*" & [7000] & "*"

Use this:

Like "*7000*"

work great, thanks wware
 

Users who are viewing this thread

Back
Top Bottom