ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Tools / WDTrans
  • Overview
  • WDTrans
  • Use
  • Starting WDTrans
  • Use conditions
  • Installing WDTrans
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Overview

WDTrans

WDTrans is a tool used to roll back transactions.
Note: A transaction is used to ensure that updates to one or more data files have been successfully completed. If an error or an incident occurs (e.g. power outage during the transaction operations), WDTrans automatically returns the data files to the state they were in at the start of the transaction.
For more details on transactions, see managing transactions.
The following operations can be performed by WDTrans:
  • Roll back all changes made to the files held by a transaction
    If a transaction is in progress, this option rolls back all changes made to the files since the beginning of the transaction. In this case, the transaction is canceled without interrupting the program execution.
    If no transaction is in progress, this option restores the integrity of the database and rolls back the transactions that have not been successfully completed (if a power outage occurs, for example).
  • Free records held by a transaction
    This option sets to a normal state all records that to not belong to the current transaction. If a record in the specified data file is considered to be in a transaction, but does not belong to any current transaction, it is automatically freed.
    Note: This is an advanced feature. Use this option only when incomplete transactions cannot be rolled back (e.g., when files are deleted from a transaction).
Use

Starting WDTrans

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.
Note: All changes made to a file held by a transaction can be rolled back in command line mode. For more details, see Roll back all changes made to the files held by a transaction.

Use conditions

WDTrans can be redistributed. WDTrans can be installed along with the applications developed with WINDEV. The terms of the WINDEV license agreement apply.
You can distribute WDTrans with your applications when creating the setup procedure.
Reminder: The setup procedure can be created:
  • from 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 "Setup" group, click "WDInst".

Installing WDTrans

The following files are required to install WDTrans:
  • WDTrans.EXE
  • wd300etat.dll
  • wd300hf.dll
  • wd300html.dll
  • wd300obj.dll
  • wd300pnt.dll
  • wd300prn.dll
  • wd300rtf.dll
  • wd300std.dll
  • wd300sql.dll
  • wd300trs.dll
  • wd300vm.dll
  • wd300xml.dll
  • WDOutil.WDK
  • WDTrans_FR.PDF
  • WDTrans_EN.PDF
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 01/31/2025

Send a report | Local help