Aussie John Posted December 4, 2009 Posted December 4, 2009 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
comment Posted December 4, 2009 Posted December 4, 2009 Unstored (or otherwise non-indexable) fields cannot be used on the "other" side of the relationship.
Aussie John Posted December 4, 2009 Author Posted December 4, 2009 Thanks - is there a way to stop the calculation being unstored?
Søren Dyhr Posted December 4, 2009 Posted December 4, 2009 By Ugo'ing .... http://fmforums.com/forum/showpost.php?post/153242/ --sd
comment Posted December 4, 2009 Posted December 4, 2009 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.
Aussie John Posted December 4, 2009 Author Posted December 4, 2009 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.
comment Posted December 4, 2009 Posted December 4, 2009 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.
Recommended Posts
This topic is 5527 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 accountSign in
Already have an account? Sign in here.
Sign In Now