Print when string not found

Moderators: Moderators, Tech Support

Post Reply
sherry
Posts: 19
Joined: Tue Jul 08, 2008 7:45 pm
Location: Seattle
Contact:

Print when string not found

Post by sherry »

I want to create an expression in a custom report field to do this...

Print Field1 when a certain text string is NOT found in Field2.

I can't figure out how to do it! Can anybody help?

Thanks so much.
Sherry

Zorak
Tech Support
Tech Support
Posts: 3015
Joined: Thu May 13, 2004 9:59 am
Location: PowerChurch Software
Contact:

Post by Zorak »

Here is something that should work in the "Print When" for you

The Print When for field 1 would be:

Code: Select all

not "needle" $ haystack
Where needle is the string you are searching for and haystack is field 2.

sherry
Posts: 19
Joined: Tue Jul 08, 2008 7:45 pm
Location: Seattle
Contact:

Post by sherry »

Easy! Thank you.

Post Reply