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

Calculated Field


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

Recommended Posts

Hi all. New to Filemaker, but getting somwhere day to day has been interesting.

If ( Account = "New" ; "XXXXXXXXXXX" ; "")

I have a field calculation that if the corresponding field contains certain text it will result in specific text in the calculated field. So far that works just fine, as long as the reference field contains that exact text ( at least at the beginning of the cell )

What are my options to search the within the cell for a match? I can't seem to use * as a variable in the calculation.

Maybe this is a limitation, or better yet, I'm uneducated.

Thanks in advanced.

Regards, Mike C.

Link to comment
Share on other sites

Welcome Mike,

You can use the Exact function to be explicit where you wish to make sure the field is an exact match. http://fmforums.com/forum/showtopic.php?tid/194162/post/285587/hl/exact/fromsearch/1/

If ( Exact ( Account ; "New" ) ; "XXXXXXXXXXX" ; "")

or you may try PatternCount() to determine if the Field matches some pattern string that you are expecting.

hope that helps.

Link to comment
Share on other sites

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