Jeff,
I think this is going to track back to a discussion some time ago about
trying to compare two c-objects, or JSON, to each other. It turns out to be
really tricky. For instance:
JSON a: {key1:1234, key2:"abcd"}
is that equal to
{key2:"abcd", key1:1234}
or
{key2:"abcd", key1:"1234"}
and so on.
I think, haven't tried, to test Modified on the c-obj field. That might
work for you. Otherwise I'd just update the c-obj every time.
On Wed, Feb 22, 2017 at 9:02 AM, Jeffrey Kain via 4D_Tech <
[email protected]> wrote:
> The subject says it all. It's not documented.
>
> Is there a good generic way to see if an object field has changed from
> within a trigger?
>
> --
> Jeffrey Kain
> [email protected]
>
>
>
>
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> FAQ: http://lists.4d.com/faqnug.html
> Archive: http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub: mailto:[email protected]
> **********************************************************************
--
Kirk Brooks
San Francisco, CA
=======================
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ: http://lists.4d.com/faqnug.html
Archive: http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:[email protected]
**********************************************************************