last

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

Note: The data connection method xfa.sourceSet.DataConnection.last 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.last()

Parameters

None

Returns

Empty

Applies to

Model

Object

sourceSet Model

source

Version

XFA 2.1

Examples

JavaScript

xfa.sourceSet.dataConnectionName.last();

FormCalc

xfa.sourceSet.dataConnectionName.last()

// Ethnio survey code removed