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 4272 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I am trying to use a calc field with a container result to display whether a phone number in a portal is selected as the primary number for the record.

 

I have a person table and a telephones table.  The person table has a field for "PrimaryPhoneID" that is populated by a script when the indicator icon next to the phone is clicked.  This part works.

 

I have a "isPrimary" field in the telephones table that uses ExecuteSQL to lookup the value in "PrimaryPhoneID".  This is where my problem is.  The result of that calc field does not update when I select a new primary number until after I click into another field on the portal.

 

In the example, you might ask why use ExecuteSQL?  My real database has a multi key field for the relationship between the tables so the result of a calc that uses the relationship would give results for more than just the current record.

 

Example attached.

PrimaryIndicator.fmp12.zip

Posted

Your portal results are being cached. You need to force a refresh via a script step in your ContactRecordLoad script.

Posted

Well based on the sample, that is my guess. Did you do a refresh window with flush cache? Your actual file may be needed to further troubleshoot.

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