isInTransactionState(): Boolean;
The isInTransactionState method of the Process class returns true if the process is currently in persistent transaction state.
The method receiver must be the current process.
The following example shows the use of the isInTransactionState method.
commitButton_click(btn: Button input) updating;
begin
if process.isInTransactionState then
commitTransaction;
sl1.caption := 'Not in transaction state';
endif;
end;