Advantage TDataSet Descendant
Tests if the dataset is within a transaction.
function AdsInTransaction: boolean;
AdsInTransaction will return True if this dataset is currently within a transaction and False otherwise.
{ start a transaction for all records associated with AdsConnection1 }
AdsConnection1.BeginTransaction;
{ is this table in a transaction, It should be if it is associated to AdsConnection1 }
bInTransaction := AdsTable1.AdsInTransaction;
None.