- Starting WDTrans
- Use conditions
- Installing WDTrans
Available only with these kinds of connection
WDTrans is a tool for canceling transactions.
: A transaction is used to make sure that the updates performed on one or more data files have successfully completed. If an error or an incident occurs (power outage during the operations in transaction for example), WDTrans is used to automatically restore the data files to their initial status before the beginning of transaction.
For more details on transactions, see managing transactions
The following operations can be performed by WDTrans:
- Roll back operations on a transaction file
If a transaction is in progress, this option cancels all operations performed on the files in transaction since the start of transaction. In this case, the transaction is canceled without interrupting the program execution.
If no transaction is in progress, this option restores the consistency of the database and cancels the unsuccessful transaction (power failure for example).
- Remove records from a transaction
This option transforms all the records "in transaction" into "normal" records if these records do not belong to a transaction currently in progress. If a record found in the specified data file is considered as being in transaction but does not belong to a transaction in progress, it is automatically freed.
Caution: This feature is an advanced feature. This feature must be used when it is not possible to cancel the unsuccessful transactions (deleted transaction files for example).
Regardless of its startup mode (interactive or command line), the interface of WDTrans is displayed.
To start WDTrans in interactive mode, all you have to do is run "WDTrans.EXE" directly.
WDTrans can be redistributed. WDTrans can be installed along with the applications developed with WINDEV. The license agreement of WINDEV is fully enforced.
When creating the setup procedure, WDTrans can be supplied with your applications.
Reminder: The setup procedure can be created:
- via the wizard: on the "Project" tab, in the "Generation" group, expand "Setup procedure" and select "Create setup procedure".
- from the setup editor: on the "Tools" tab, in the "Utilities" group, click "WDInst".
The following files are required to install WDTrans:
This page is also available for…