ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Version: 2026

<Connection variable>.Transaction (Function)
Starts a transaction on the data files (HFSQL or accessed via Native Access) and creates the transaction file.
WDOptimizer: Roll back / release transaction records
WDOptimizer is used to ...
USE IN (transaction)
The USE ... IN statement is used to define the block of operations to be performed in a transaction.
WDOptimizer: Presentation
The various operations that can be carried out with WDOptimizer are ...
HTransactionSavepoint (Function)
Declares a transaction savepoint.
Transactions in HFSQL Client/Server mode
To keep maximum compatibility between HFSQL Classic applications (single-user or multi-user) and HFSQL Client/Server applications, the transaction mechanism in HFSQL Client/Server mode is similar to the one in HFSQL Classic mode...
<Connection variable>.TransactionCancel (Function)
If a transaction is in progress, rolls back all operations performed on data files in transactions since the start of the transaction.
<Connection variable>.TransactionEnd (Function)
Validates the current transaction:
  • the modifications performed on the data file since the start of transaction (HTransactionStart) are validated.
  • the transaction file is deleted (if the transaction is the last transaction in progress for a network application)
  • the records locked in read-only by the transaction are unlocked.
Maintaining the files of Control Centers
When using a database, you may have to perform maintenance operations on the data files...
HSetTransaction (Function)
Enables or disables the management of transactions for one or more files.
Transactions: Secure your processes on HFSQL data files
This chapter covers the following topics...
Client/Server transactions: available isolation modes
The HFSQL engine proposes to isolate the transactions...
HTransactionRollbackToSavepoint (Function)
Rolls the transaction back to the savepoint.
HTransactionFree (Function)
Transforms all "in transaction" records into "normal" records if they do not belong to a transaction currently in progress.
<Connection variable>.TransactionSavepoint (Function)
Declares a transaction savepoint.
<Source>.SetTransaction (Function)
Enables or disables the management of transactions for one or more files.
<Source>.TransactionFree (Function)
Transforms all "in transaction" records into "Normal" records if they do not belong to an ongoing transaction.
<Connection variable>.TransactionRollbackToSavepoint (Function)
Rolls the transaction back to the savepoint.
HTransactionEnd (Function)
Validates the current transaction:
  • the modifications performed on the data file since the start of transaction (HTransactionStart) are validated.
  • the transaction file is deleted (if the transaction is the last transaction in progress for a network application)
  • the records locked in read-only by the transaction are unlocked.
HTransactionStart (Function)
Starts a transaction on the data files (HFSQL or accessed via a Native Connector) and creates the transaction file.
HTransactionCancel (Function)
If a transaction is active, rolls back all changes made to the data files since the beginning of the transaction.
HTransactionInProgress (Function)
Used to find out whether a transaction is in progress.
SQLTransaction (Function)
Begins, commits or rolls back a transaction:
  • on the files of a database opened by SQLConnect,
  • on the files of a database opened by a connection (OLE DB or Native Access/Native Connector) defined in the data model editor or with HOpenConnection.
<Connection variable>.TransactionIsolation (Function)
Configures the isolation level of transactions for a connection to an HFSQL server.
HTransactionInterrupted (Function)
Used to find out whether a transaction was interrupted (the transaction was neither validated nor canceled).
HTransaction (Function)
Starts a transaction on the data files (HFSQL or accessed via a Native Connector) and creates the transaction file.
HTransactionIsolation (Function)
Configures the isolation level of transactions for a connection to an HFSQL server.
Starting WDOptimizer in a command line
Transactions in SQL
Starting with version 21, you can manage transactions in SQL code...
<Connection variable>.TransactionStart (Function)
Starts a transaction on the data files (HFSQL or accessed via Native Access) and creates the transaction file.
1
5
6
7