Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5170 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted (edited)

I want to search multiple fields for a "3" character or a "3a" character but not a "3b"character and insert the found data into a new field. I have been able to use PatternCount successfully to find the 3 and 3a but can't omit the 3b.

Edited by Guest
  • Newbies
Posted (edited)

By the way, I am defining a new field. I have since solved the problem by using the following formula:

Line3=

Case (

PatternCount ( Class2 ; "3" )>0 and not PatternCount ( Class2 ; "3b" )>0 ;Class2;

PatternCount ( Class3 ; "3" )>0 and not PatternCount ( Class3 ; "3b" )>0 ;Class3;

PatternCount ( Class5 ; "3" )>0 and not PatternCount ( Class5 ; "3b" )>0 ;Class5;

PatternCount ( Class7 ; "3" )>0 and not PatternCount ( Class7 ; "3b" )>0 ;Class7;

"other"

)

I found a page in a google book which gave me a clue...

...thanks anyway

Edited by Guest

This topic is 5170 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.