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 triggers / WLanguage functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
HDeactivateServerTrigger (Function)
In french: HDé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 HActivateServerTrigger.
Note Server trigger manipulation functions are advanced functions. The server triggers can be created directly in the data model editor. For more details, see Server triggers.
Syntax

Disable a server trigger on logical HFSQL data files Hide the details

HDeactivateServerTrigger(<Trigger> , <HFSQL Client/Server logical data files>)
<Trigger>: Character string
Name of the trigger to disable. This name was defined with HDescribeServerTrigger.
<HFSQL Client/Server logical data files>: Character string
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 (",").

Disable a server trigger on physical HFSQL data files on a server Hide the details

<Result> = HDeactivateServerTrigger(<Connection> , <Trigger> [, <HFSQL Client/Server physical data files>])
<Result>: Boolean
  • True if the operation was performed,
  • False if a problem occurs. HError is used to identify the error.
<Connection>: Character string or Connection variable
Connection to the HFSQL server. This connection corresponds to:
<Trigger>: Character string
Name of the trigger to disable. This name was defined with HDescribeServerTrigger.
<HFSQL Client/Server physical data 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 is an empty string (""), the trigger will be disabled on all the data files of the databases.
Component: wd300hf.dll
Minimum version required
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/12/2025

Send a report | Local help