ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / Managing databases / HFSQL / Managing transactions / WLanguage functions
  • Management of transactions enabled
  • Limit
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Enables or disables the management of transactions for one or more data files.
When the management of transactions is disabled, all transaction-related functions are inhibited (HTransactionStart, HTransactionEnd, HTransactionCancel).
Note: By default, transaction management is active.
AndroidAndroid Widget This function can be used with HFSQL Client/Server data files only.
Example
// Désactive la gestion des transactions sur le fichier de données Client
HSetTransaction(Client, False)
Syntax
<Result> = HSetTransaction([<Data file>, ] <Options>)
<Result>: Boolean
Corresponds to the former management mode of transactions (before the call to HSetTransaction):
  • True if the management of transactions was enabled,
  • False if the management of transactions was disabled.
If <Data file>= "*", <Result> is set to True if the management of transactions was enabled for at least one data file in the former transaction management mode.
<Data file>: Optional character string
Name of the data file used. If this name is not specified or if it corresponds to "*", the management of transactions is taken into account for all the date files found in the analysis.
<Options>: Boolean
  • True if the management of transactions must be enabled for the data file,
  • False if this management must be disabled.
Remarks

Management of transactions enabled

If the management of transactions is enabled for a single file, only the operations performed on this data file will be taken into account in the management of transactions (regardless of the data files specified in HTransactionStart).
WINDEVWEBDEV - Server codeUser code (UMC)Ajax

Limit

The management of transactions does not apply to the xBase files.
Component: wd300hf.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help