previous

Moves to the previous record in the recordset, and populates the data model with the record data.

Note: The data connection method xfa.sourceSet.DataConnection.previous looks up a table and updates the table if the data has changed. It uses the hasDataChanged method to determine whether the data has changed.

Syntax

Reference_Syntax.previous()

Parameters

None

Returns

Empty

Applies to

Model

Object

sourceSet Model

source

Version

XFA 2.1

Examples

JavaScript

xfa.sourceSet.dataConnectionName.previous();

FormCalc

xfa.sourceSet.dataConnectionName.previous()

// Ethnio survey code removed