Skip to main content
Version: 11.2

$.udb(ds).rowCount()

note

This article is about the rowCount() function of the DataSourceContainer object.

$.udb(ds).rowCount()

Returns the number of records of the first data source in the container.

Syntax

$.udb( *ds* ).rowCount()

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

The required ds is a data source selector.

The optional rowSet parameter is a rowset identifier. If the .rowSet() clause is omitted, then .rowSet('current') is assumed.

Example

$.udb('EMP').rowCount();

This is short for:

$.udb('EMP').rowSet('current').rowCount();