AnsweredAssumed Answered

Set Globals or Unstored Calculation for Relationships?

Question asked by eric on Mar 27, 2012
Latest reply on Mar 28, 2012 by HOnza

Which is faster or better for setting the static side of relationships?

  1. Initializing globals in an open script
  2. Setting unstored calculation fields with static values
  3. Some other alternative


Specifically, I have at least twenty relationships that are keyed with globals on the "one" side, and are all set with an on-opening-this-file script. But I imagine that everytime a client or web-browser (to CWP) opens this file, it has to set all these globals even when the session might not use any of those relationships. Would static unstored calculations be more efficient, and would there be any drawbacks to using unstored calculations instead of globals?