Skip to main content
Version: 11.2

$.udb(ds).isQuerying()

note

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

$.udb(ds).isQuerying()

Detects whether the current Rowset of the first data source in the container is in the process of being queried for records.

Returns a boolean.

note

This function is a shortcut for:

$.udb(*ds*).rowSet('current').isQuerying()

Syntax

$.udb( *ds* ).isQuerying()

The required ds parameter is a data source selector.

Example

// show a busy indicator for as long as EMP is still being queried
if ($.udb('EMP').isQuerying()) {
$.udb.wait(true);
}