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
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Used to find out whether a transaction is in progress.
iPhone/iPadIOS WidgetMac Catalyst The management of transactions is available for HFSQL Client/Server databases.
Example
// Recherche si une transaction est en cours
// Base de données ISAM (HFSQL Classic)
bConnexionEnCours is boolean = HTransactionInProgress()
// Recherche si une transaction avec MaConnexion est en cours
// Base de données Client/Serveur (HFSQL Client/Serveur)
MaConnexion is Connection
bConnexionEnCours is boolean = HTransactionInProgress(MaConnexion)
Syntax
<Result> = HTransactionInProgress([<Connection>])
<Result>: Boolean
If a connection is specified:
  • True if there is a transaction on the specified connection or if there is a global transaction (for HFSQL Classic (ISAM) and all HFSQL Client/Server connections).
  • False if there is no transaction in progress on the specified connection.
If no connection is specified:
  • True if there is a global transaction (for HFSQL Classic (ISAM) and all HFSQL Client/Server connections).
  • False otherwise. Please note: there may be transactions in progress on specific connections.
<Connection>: Optional character string or optional Connection variable
Connection to use. This connection corresponds to:
Business / UI classification: Business Logic
Component: wd300hf.dll
Minimum version required
  • Version 26
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help