Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

Blank once again.... Calc. to replace the entire text in a field if it contains a certain predefined word.

Example: Table::Text Field ...contains "My Dog is ugly"

If (Table::Text Field ?? "ugly" ; "Removed" ; Table::Text Field )

Posted

Patterncount Purpose :

Returns the number of occurrences of searchString in text.

Didn't help .....

but after I thought about it...

I added ≥ 1 and that did it..... so thanks.

If ( PatternCount ( field ; "ugly" ) ≥ 1 ;"Removed";field)

Posted (edited)

Hhuuummm.... Well it didn't work until I put that in.

Not sure why unless I missed some setting on the field itself.

Edit: Although now it does so go figure...

Edited by Guest

This topic is 5201 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.