hasDataChanged

Determines whether the current record data has changed.

This method is a pre-commit test of the active record. It compares the current record data with the record data from the current data source. If the data has changed, then this method returns true.

Note: The data connection methods xfa.sourceSet.DataConnection.first, xfa.sourceSet.DataConnection.next, xfa.sourceSet.DataConnection.previous, and xfa.sourceSet.DataConnection.last perform an implicit update if the data has changed.

Syntax

Reference_Syntax.hasDataChanged()

Parameters

None

Returns

True if the data has changed, and false if the data has not changed.

Applies to

Model

Object

sourceSet Model

source

Version

XFA 2.1

// Ethnio survey code removed