Rowset.isEmpty()
note
This article is about the isEmpty() function of the Rowset object.
Rowset.isEmpty()
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
*row-set*.isEmpty()
Example
var ds = $.udb("EMP");
var rowCount;
if (ds.rowSet('current').isEmpty())
ds.executeQuery();
rowCount = ds.rowSet('current').rowCount();