Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

relating to a calc field

Featured Replies

Sometime if I relate to a calculation field the relationship works but at other times it doesn't. I think it is when the field is unstored, but if I try to change the store option FM wont let me (saying it references a related file, or unstored calculation) .

Is there a method to get this to work? thanks

Unstored (or otherwise non-indexable) fields cannot be used on the "other" side of the relationship.

  • Author

Thanks - is there a way to stop the calculation being unstored?

By Ugo'ing .... http://fmforums.com/forum/showpost.php?post/153242/

--sd

is there a way to stop the calculation being unstored?

If the calculation references a global or a related field, then no - it is forced to be unstored. Otherwise it wouldn't update following modification of the referenced values.

There are probably other ways to approach the underlying problem - but you haven't told us what that is. One of these ways is the "Ugo method" - but IMHO that should be used as the last resort, not first.

  • Author

A little involved - use a table (I call it the "view" table) with a single record and a portal on the layout. The fields of the view table use value lists sourced from the multiple related fields. I can then select a value list item and the portal quickly changes to see a different set of data.

My issue is the related table also relates to another table for some of its info and I would like the view table to be able to filter that too. I tried a calculation to mimic the field of the second related table and this is where the unstored problems arise.

the related table also relates to another table for some of its info

That's a rather general description. Perhaps you can place a TO of the "another" table in-between the "view" table and the portal table, to act as a filter.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.