Skip to main content
Version: 11.2

Rowset.dataSetIndicator()

note

This article is about the dataSetIndicator() function of the Rowset object.

Rowset.dataSetIndicator()

Gets the current data set indicator of the row set. For a given row set in a data source, a data set indicator is used to refer to the subset of the records (the data set) that is currently selected. If the 'Maximum Number of Records' property of a data source is set to 5, the data set indicator 1 refers to records 1-5, the data set indicator 2 refers to records 6-10, and so on.

Returns an integer.

Syntax

$.udb( *ds* ).rowSet( *rowSet* ).dataSetIndicator()

The required ds parameter is a data source selector.

The required rowSet parameter is a rowset identifier.

Example

let rowSet = $.udb('EMP').rowSet('current');

if (rowSet.dataSetIndicator() < rowSet.numberOfDataSets()) {
rowSet.gotoDataSet('next');
}