This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
|||||||||||||||||||||||||||||||||||||||||||||||
|
4D v19.8
dataStore.cancelTransaction( )
|
dataStore.cancelTransaction () | ||||||||
Does not require any parameters | ||||||||
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.
See example for the dataStore.startTransaction( ) method.
CANCEL TRANSACTION
dataStore.startTransaction( )
dataStore.validateTransaction( )
Product: 4D
Theme: ORDA - DataStore
Created: 4D v18
4D Language Reference ( 4D v19)
4D Language Reference ( 4D v19.1)
4D Language Reference ( 4D v19.4)
4D Language Reference ( 4D v19.5)
4D Language Reference ( 4D v19.6)
4D Language Reference ( 4D v19.7)
4D Language Reference ( 4D v19.8)