.isEmpty()

Previous Next

Checks whether or not the row set contains any records. This information can then be used to determine if records must be displayed.

Returns a boolean.

Syntax

.isEmpty()

 

Example

var ds = $.udb("EMP");

var rowCount;

if (ds.rowSet('current').isEmpty())

 ds.executeQuery();

 

rowCount = ds.rowSet('current').rowCount();