Skip to main content
Version: 11.2

Rowset.select()

note

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

Rowset.select()​

Makes this the first row set in the collextion the currently active row set of its data source.

Returns the UdbRowSets object.

tip

This selects the row set itself, not a record within it. To select a specific record, use Rows.select() instead.

Syntax​

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

The required ds parameter is a data source selector.

The required rowSet parameter is a rowset identifier.

Example​

let rowSet = $.udb('EMP').rowSet('DEPT_NO:10');

if (rowSet.length) {
rowSet.select();
}