AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Administrar bases de datos / HFSQL / Gestión de desencadenadores / Funciones WLanguage
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
HActivateServerTrigger (Function)
In french: HActiveTriggerServeur
HFSQL Client/ServerAvailable only with this kind of connection
Re-enables a server trigger previously disabled by HDeactivateServerTrigger.
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.
Syntax

Activating a server trigger (logical files) Hide the details

<Result> = HActivateServerTrigger(<Trigger> , <Logical HFSQL Client/Server files>)
<Result>: Boolean
  • True if the operation was performed,
  • False if a problem occurs. HError is used to identify the error.
<Trigger>: Character string
Name of the trigger to activate. This name was defined with HDescribeServerTrigger.
<Logical HFSQL Client/Server 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 (",").

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

<Result> = HActivateServerTrigger(<Connection> , <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>: Character string or Connection variable
Connection to use. Corresponds to:
<Trigger>: Character string
Name of the trigger to activate. This name was defined with HDescribeServerTrigger.
<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: wd290hf.dll
Versión mínima requerida
  • Versión 12
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 06/07/2023

Señalar un error o enviar una sugerencia | Ayuda local