Rows.rsc()
note
This article is about the rsc() function of the Rows object.
Rows.rsc()
Gets the row set that the first record in the Rows object belongs to.
Returns a UdbRowSets object.
Syntax
$.udb( *ds* ).rows( [rowRef1], [rowRef2] ).rsc()
$.udb( *ds* ).rowSet( *rowSet* ).rows( [rowRef1], [rowRef2] ).rsc()
The required ds parameter is a data source selector.
The optional rowSet parameter is a rowset identifier. If the .rowSet() clause is omitted, then .rowSet('current') is assumed.
The optional rowRef1, rowRef2 are row selectors. If omitted, all records in scope are addressed.
This allows you to, for example, execute a query specifically for that row set.
Example
$.udb('EMP').rows('current').rsc().executeQuery();