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!

Search Help

Status
Not open for further replies.

coolkake

Technical User
Apr 5, 2002
51
CA
All

I use the following string to search a field
Like "*" & "Example" & "*"
But I don't want to find items with "Example" in them that have "Problem". So I tried the following

Like "*" & "Example" & "*"
Not Like "*" & "Problem" & "*"

My reason for using the above search is I am searching the boby of emails. Any help would be greatly appreciated.

Thanks

Kake
 
How about:

Like "*Example*" and Not Like "*Problem*"
 
That's what I was looking for, works great [2thumbsup]

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top