$.udb(ds).currentDataSet()
note
This article is about the currentDataSet() function of the DataSourceContainer object.
$.udb(ds).currentDataSet()
Gets the position of the data set of the first data source in the container that is the currently selected data set in that data source.
Returns an integer.
Syntax
$.udb( *ds* ).currentDataSet()
The required ds parameter is a data source selector.
note
The data set indicator returned is that of the current active Rowset. Therefore, this function is a shortcut for:
$.udb(*ds*).rowSet('current').dataSetIndicator()
Example
$.udb('EMP').currentDataSet();
Output:
1