WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Stored procedures
<Connection variable>.ActivateServerTrigger (Function)
In french: <Variable Connexion>.ActiveTriggerServeur
HFSQL Client/ServerAvailable only with this kind of connection
Re-enables a server trigger previously disabled by <Connection variable>.DeactivateServerTrigger.
Remark: The functions for handling the server triggers are advanced functions. The server triggers can be created directly in the data model editor. For more details, see Server triggers.

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

<Result> = <Connection>.ActivateServerTrigger(<Trigger> [, <Physical HFSQL Client/Server files>])
<Result>: Boolean
  • True if the operation was performed,
  • False if a problem occurs. HError is used to identify the error.
<Connection>: Connection variable
Name of the Connection variable that corresponds to the connection to be used.
<Trigger>: Character string
Name of the trigger to activate. This name was defined with <Connection variable>.DescribeServerTrigger.
<Physical HFSQL Client/Server files>: Optional character string
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 associated to the connection.
Component: wd280hf.dll
Minimum version required
  • Version 25
This page is also available for…
Click [Add] to post a comment