Language Reference Guide : System Classes : CellAttribute Class : HasDataChanged Attribute
 
Share this page          
HasDataChanged Attribute
Data Type: smallint
4GL Access: RW
The HasDataChanged attribute indicates whether the end user has changed the data associated with the cell.
The value of this attribute is TRUE if the end user has edited the data in the cell, or FALSE if not. An edit includes any typing in entry fields or clicking on most other types of fields.
OpenROAD automatically resets the HasDataChanged attribute to FALSE every time the field is cleared by the SetToDefault procedure or any time data is put into the field through a 4GL statement.
When you turn on cell attributes, the HasDataChanged attribute has an initial value of FALSE.