PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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
// Tries to determine if a transaction is in progress
// ISAM database (HFSQL Classic)
bConnectionInProgress is boolean = HTransactionInProgress()
// Tries to determine if a transaction with MyConnection is in progress
// Client/Server database (HFSQL Client/Server)
MyConnection is Connection
bConnectionInProgress is boolean = HTransactionInProgress(MyConnection)
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. Caution: 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: wd270hf.dll
Minimum version required
  • Version 26
This page is also available for…
Comments
Click [Add] to post a comment