This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v19.8
dataStore.validateTransaction( )

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.

Example  

See example for the dataStore.startTransaction( ) method.



See also 

dataStore.cancelTransaction( )
dataStore.startTransaction( )
VALIDATE TRANSACTION

 
PROPERTIES 

Product: 4D
Theme: ORDA - DataStore

This command can be run in preemptive processes

 
PAGE CONTENTS 
 
HISTORY 

Created: 4D v18

 
ARTICLE USAGE

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)