PgDAC
Indicates whether SQL statement is still being executed.
TCustomDADataSet
function Executing: boolean;
Check Executing to learn whether TCustomDADataSet is still executing SQL statement.