RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDatabase.InTransaction Property

Indicates whether a database transaction is in progress or not.

Pascal
property InTransaction: Boolean;
C++
__property Boolean InTransaction;

Examine InTransaction at run-time to determine if a database transaction is currently in progress. InTransaction is true if a transaction is in progress, false otherwise. 

The value of InTransaction cannot be changed directly. Calling StartTransaction sets InTransaction to true. Calling Commit or Rollback sets InTransaction to false. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!