ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Managing databases / HFSQL / HFSQL Client/Server functions
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
<Connection variable>.DeactivateServerTrigger (Function)
In french: <Variable Connexion>.DésactiveTriggerServeur
HFSQL Client/ServerAvailable only with this kind of connection
Disables an HFSQL Client/Server server trigger on a server. This trigger is disabled for all the clients of this server. This trigger can be re-enabled by <Connection variable>.ActivateServerTrigger.
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.

Disabling a server trigger on the physical HFSQL files of a server Hide the details

<Result> = <Connection>.DeactivateServerTrigger(<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 describes the connection to the HFSQL server.
<Trigger>: Character string
Name of the trigger to disable. 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 disabled on all the data files of the databases.
Component: wd290hf.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 07/06/2023

Send a report | Local help