$.udb(ds).isQueried()
note
This article is about the isQueried() function of the DataSourceContainer object.
$.udb(ds).isQueried()
Detects whether the current Rowset of the first data source in the container has already been queried for records.
Returns a boolean.
note
This function is a shortcut for:
$.udb(*ds*).rowSet('current').isQueried()
Syntax
$.udb( *ds* ).isQueried()
The required ds parameter is a data source selector.
Example
// avoid querying EMP again if it has already been queried
if (!$.udb('EMP').isQueried()) {
$.udb('EMP').executeQuery();
}