Hi,
how I can check if db is in transaction ?
thaks
check if in transaction
-
AndreyZ
You can check if there are active transactions using the following code:
Code: Select all
if IBCConnection.InTransaction then
ShowMessage('There are active transactions');-
AndreyZ
InterBase and Firebird support multiple transactions through one connection. When you are checking the TIBCTransaction.Active property, you are checking only if this transaction is active. The TIBCConnection.InTransaction method indicates if there are any active transations (explicit or implicit) that are active and which work through this connection.