4D v19

dataStore.cancelTransaction( )

Home

 
4D v19
dataStore.cancelTransaction( )

dataStore.cancelTransaction( )  


 

The dataStore.cancelTransaction( ) method cancels the transaction opened by the dataStore.startTransaction( ) method at the corresponding level in the current process for the specified datastore.

The dataStore.cancelTransaction( ) method cancels any changes made to the data during the transaction.

You can nest several transactions (sub-transactions). If the main transaction is cancelled, all of its sub-transactions are also cancelled, even if they were validated individually using the dataStore.validateTransaction( ) method.

Example  

See example for the dataStore.startTransaction( ) method.



See also 

CANCEL TRANSACTION
dataStore.startTransaction( )
dataStore.validateTransaction( )

 
PROPERTIES 

Product: 4D
Theme: ORDA - DataStore

This command can be run in preemptive processes

 
PAGE CONTENTS 
 
HISTORY 

 
ARTICLE USAGE

4D Language Reference ( 4D v19)
4D Language Reference ( 4D v19.1)