2 Replies Latest reply on Jan 20, 2014 11:36 AM by WF7A

    What's the story on the Get(ModifiedFields) function?

    WF7A

      Title

      What's the story on the Get(ModifiedFields) function?

      Post

           Greets, all:

           I can't find anything about the new Get(ModifiedFields) function in FMPA v13.x other than what's in the Help menu.  How do I implement that in a solution? As a straightforward calculation (which I tried, but can't get it to work), or...?

           Ciao,

           Rich

        • 1. Re: What's the story on the Get(ModifiedFields) function?
          philmodjunk

               The key phrase in help is that this function returns this list while the record is open--while it has not been committed. That seems to keep a calculation field from showing anything even if unstored as you have to commit the record before it will update and then the record is no longer open for editing.

               Try using a script tirigger such as OnObjectExit to display a show custom dialog or set a text field to the results of this function and you'll get your field list.

               Oddly, it will list calculation fields as modified when a field referenced by the calc has been modified--which isn't how I'd prefer this to work.

          • 2. Re: What's the story on the Get(ModifiedFields) function?
            WF7A

                 Thanks for the quick answer, Phil!