PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Management of transactions enabled
  • Limit
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Enables or disables the management of transactions for one or more data files.
When the management of transactions is disabled, all the functions related to the transactions are inhibited (HTransactionStart, HTransactionEnd, HTransactionCancel).
Note: The management of transactions is enabled by default.
AndroidAndroid Widget Windows Mobile This function can be used with HFSQL Client/Server data files only.
Versions 18 and later
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the Android applications (for the HFSQL data files).
WINDEVJava This function is now available for the Java applications.
New in version 18
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the Android applications (for the HFSQL data files).
WINDEVJava This function is now available for the Java applications.
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the Android applications (for the HFSQL data files).
WINDEVJava This function is now available for the Java applications.
Note: From version 19, HFSQL is the new name of HyperFileSQL.
Versions 19 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
New in version 19
iPhone/iPad This function is now available for the iPhone/iPad applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Example
// Disables the management of transactions on Customer file
HSetTransaction(Customer, False)
Syntax
<Result> = HSetTransaction([<File Name>,] <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 <File Name>= "*", <Result> is set to True if in the former management mode of transactions, the management of transactions was enabled for at least one of the data files.
<File Name>: Optional character string (with or without quotes)
Name of 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 codeAjaxUser code (UMC)

Limit

The management of transactions does not apply to the xBase files.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230hf.dll
Windows Mobile wp230hf.dll
Java wd230java.jar
Linux wd230hf.so
Android wd230android.jar
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment