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!

Help with search in mulltiple fields 1

Status
Not open for further replies.

biggerV

MIS
Mar 10, 2004
12
US
Looking for a little assistance.

I have been away from the Crystal scene for awhile and I have been asked to assist short term for a project.I am having difficulties and I am hoping someone can point me in the correct direction. What I am trying to do is search multiple fields for the inclusion of one of multiple terms. For example I need to search for the word "cat" or "dog" in 2 different fields and display that record if that term appears in either one of these 2 ({field.a} or {field.b}) fields. Any help would be greatly appreciated.
 
A record selection formula like:

{table.a} IN ["cat","dog"]
OR
{table.b} IN ["cat","dog"]


should do it.



[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top