I'm curious as to folks take on this.  I have class named Site that has a
one to many relationship to a class named Records (so one site has many
records).  The following code causes the %IsModified flag to go to 1:

w  oRec.%IsModified()
0
w oRec.recToSite.internalNo // Relationship recToSite As Core.Site [
Cardinality = parent, Inverse = siteToRec ];
0
w oRec.%IsModified()
1

To get the value of  oRec.recToSite.internalNo site needs to be swizzled,
but that causes oRec's modified flag to go to 1.  What I really want is to
rely on IsModified for when properties actually change value on oRec.  It
could be argued that a relationship property has changed value, thus
%IsModified is true, but I sure wish I could take relationships being
swizzled out of the picture.

Has anyone been down this road?  Do I have to roll my own here?

MTIA,

/Sharon



Reply via email to