This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
|||||||||||||||||||||||||||||||||||||||||||||||
|
4D v19.8
dataStore.validateTransaction( )
|
dataStore.validateTransaction () | ||||||||
Does not require any parameters | ||||||||
The dataStore.validateTransaction( ) method accepts the transaction that was started with dataStore.startTransaction( ) at the corresponding level on the specified datastore.
The method saves the changes to the data on the datastore that occurred 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 this method.
See example for the dataStore.startTransaction( ) method.
dataStore.cancelTransaction( )
dataStore.startTransaction( )
VALIDATE TRANSACTION
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)