Comparing a text string.

hooi

Registered User.
Local time
Today, 15:51
Joined
Jul 22, 2003
Messages
158
Hi,

I'm having problem in trying to create a query to display records:

Eg. If I have a field with the following three records:
john@abc.com
ben@def.com; cathy@ghi.com
cathy@ghi.com

If I want to pick up records containing text "cathy@efg.com", the 2nd and 3rd records should be retrieved. However, when I tried:

In ("cathy@ghi.com") or
Like ("cathy@ghi.com")

both of them are retrieving only the 3rd record.

What statement should I use?

Thanks for helping...
 
Last edited:
Well... Thanks man. Truly appreciate your help Dave.
Have a nice day.
 
Hi Dave,

Is it possible to achieve the same thing from a query?

Thanks...
 
Got it. the criteria for the query is as follows:

Like "*cathy@ghi.com*"

Thanks for helping...
 

Users who are viewing this thread

Back
Top Bottom