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

Recommended Posts

Posted

Say you have a bunch of auto-enter calcs, some of which have cross-dependencies, such as:

A = If(B>1, "YES", "NO")

B = C + 1

C = 1

You can see that A can be either "YES" or "NO" depending on whether B is evaluated before or after A.

Is there a way to know in which order these will be evaluated? I seem to remember reading somewhere that the field Creation order mattered, but can't find that thread now.

The reason I ask is that I have a set of such fields, all of which reference a common "trigger" field. Sometimes, I have to set the trigger field twice to get all the fields to evaluate correctly.

Posted

Creation order does often matter, but you may be able to bypass it by testing whether the prerequisite fields have a value or which field was most recently modified (using Get(ActiveFieldName)).

In the example you have provided, creation order doesn't seem to matter, even if 'do not evaluate if all referenced fields are empty' is deselected for A and B and they are created in alphabetical order.

Perhaps if you post your actual calculations or a sample file containing them, we can provide more explicit assistance.

  • 2 months later...
Posted

FYI, the FileMaker 8.0v2 update notes http://www.filemaker.com/support/updaters/fm8v2_mac.html suggest a fix to this issue. I've not yet tested it however. I'm also not sure if the 8.0v2 fix will work for me since I'm still using Server 7. Are the calculations done on the server or the client?

1.2. Calculations

1.2.1. Fields that have auto-entered calculations depending on other fields no longer rely on field order creation for consistent results.

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