PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
HActivateServerTrigger (Function)
In French: HActiveTriggerServeur
HFSQL Client/ServerAvailable only with this kind of connection
Re-enables a trigger previously disabled by HDeactivateServerTrigger.
Note: The functions for handling the server triggers are advanced functions. The server triggers can be created in the data model editor directly. See Server triggers for more details.
Note: From version 19, HFSQL is the new name of HyperFileSQL.
Versions 22 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the Android applications.
WINDEVJava This function is now available for the Java applications.
New in version 22
iPhone/iPad This function is now available for the iPhone/iPad applications.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the Android applications.
WINDEVJava This function is now available for the Java applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the Android applications.
WINDEVJava This function is now available for the Java applications.
Syntax

Activating a server trigger (logical files) Hide the details

<Result> = HActivateServerTrigger(<Trigger Name> , <Logical HFSQL Client/Server Files>)
<Result>: Boolean
  • True if the operation was performed,
  • False if a problem occurred. HError is used to identify the error.
<Trigger Name>: Character string
Name of the trigger to activate. This name was defined by HDescribeServerTrigger.
<Logical HFSQL Client/Server Files>: Character string (with quotes)
Logical name of one or more HFSQL Client/Server data files. To specify several names, the names of the data files must be separated by a comma (",").

Activating a server trigger on physical files associated with a connection Hide the details

<Result> = HActivateServerTrigger(<Connection Name> , <Trigger Name> [, <Physical HFSQL Client/Server Files>])
<Result>: Boolean
  • True if the operation was performed,
  • False if a problem occurred. HError is used to identify the error.
<Connection Name>: Character string (with or without quotes)
Name of connection to use. This connection was defined in the data model editor, or by HDescribeConnection or HOpenConnection.
<Trigger Name>: Character string
Name of the trigger to activate. This name was defined by HDescribeServerTrigger.
<Physical HFSQL Client/Server Files>: Optional character string (with quotes)
Physical name of one or more HFSQL Client/Server data files associated with the connection ("CUSTOMER.FIC" for example). To specify several names, the names of the data files must be separated by a comma (",").
If this parameter is not specified or if it corresponds to an empty string (""), the trigger will be enabled on all the data files of the database.
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 12
This page is also available for…
Comments
Click [Add] to post a comment