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

query help

Status
Not open for further replies.

angels2

Technical User
Apr 4, 2004
84
US
I have part numbers
12345-m
12345-h
all in one column I want to build an expression to pick only the parts wit ht -h and not the -m what do i need to add to the query to only pull the -h parts
 
How about:
Like "*h"
On the criteria line.
 
Switch to SQL view and cut and paste the SQL here, please.
 
Actually you need to do this:

Like "*-h*"

The last astrick is also needed.

:)WB
 
WB786
Why is a second asterisk needed? Surely:
Like A* : A is the first character
Like *A* : A is anywhere in the string
Like *A : A is the last character.
 
Note to self: Test before typing and posting.

One thing is clear: it works both ways.

So, Angles2 what are you doing that is not working for you. As requested above please post your SQL view query result so we can see where the problem might be at.

Thanks,

:)WB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top