moveCurrentRecord

Repositions the current record to another location within the range of records.

Syntax

Reference_Syntax.moveCurrentRecord( INTEGER param )

Parameters

param

A valid integer representing the number of records separating the current record and the desired destination record. A positive integer indicates a record between the current record and the end of the range of records, a negative value indicates a record between the current record and the beginning of the range.

Returns

Empty

Applies to

Model

Object

Data Model

dataWindow

Version

XFA 2.1

Examples

JavaScript

xfa.dataWindow.moveCurrentRecord(1);

FormCalc

xfa.dataWindow.moveCurrentRecord(1)

For an example of using the moveCurrentrecord method to browse data records, see the example Browsing records stored in a data file available at www.adobe.com/go/dev_lc_scripting_samples.

// Ethnio survey code removed