IsChanged property: Row class
Description
This property returns True if any field value on the primary database record of the row has been changed.
Note:
Use this property only with the primary database record. It doesn't return valid results if used with a work record. This property returns True only if the existing row object has a field that has changed. If a field in a lower level rowset has changed, this property returns False.
This property is read-only.
Example
&tmp = &ROW.IsChanged;
if &tmp = True then
Warning("A Field on this row has been changed");
End-If;
Considerations Using IsChanged
This property and the IsChanged record property do not always return identical values.
If a row in a scroll contains multiple records (such as a primary database record and one or more work records), the IsChanged row property returns True if any of the records in the row are changed. The IsChanged record property returns True only if a specific record, namely, the primary database record, is changed.
If a row is deleted from a scroll, only the primary database record has its IsChanged property marked to False (since the row has been deleted.) Any work records in the row still have their IsChanged properties set to True.