Icon InTransaction Property

property InTransaction: Boolean

Usage

Use the InTransaction property at run-time to determine if a transaction is currently in progress. The InTransaction property is True if a transaction is in progress and False if a transaction is not in progress.

The value of the InTransaction property cannot be changed directly. Calling the TEDBDatabase StartTransaction sets the InTransaction property to True. Calling the TEDBDatabase Commit or Rollback methods sets the InTransaction property to False.

Information If the current TEDBDatabase component refers to the same database as another TEDBDatabase component, then calling StartTransaction on one component will also cause the other component's InTransaction property to return True. This is because ElevateDB never allocates more than one internal handle for a given database.
Image