ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / Managing databases / HFSQL / HFSQL Client/Server functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Adds recipients for the notifications sent via the Control Centers (WDBal messaging tool). These notifications are sent by the HFSQL server when a problem occurs or when a possible optimization is detected.
Remark: Sending via Control Centers uses the parameters specified with function HNotifConfigure (Control Center base, ...)..
Example
cnxConnexionCS is Connection
cnxConnexionCS.Provider = hAccessHFClientServer
cnxConnexionCS.User = "admin"
cnxConnexionCS.MotDePasse = ""
cnxConnexionCS.Server = "test:4900"
HOpenConnection(cnxConnexionCS)

HNotifConfigure(cnxConnexionCS, hNotifCCCS, "DOC:4988", "CC_DOC", "DOC", "")
HNotifAddCCRecipient(cnxConnexionCS, "Florence", hNotifWarning)
Syntax
<Result> = HNotifAddCCRecipient(<Connection> , <Recipient> , <Minimum level>)
<Result>: Boolean
  • True if the recipient was added.
  • False otherwise. HErrorInfo is used to identify the error.
<Connection>: Character string or Connection variable
Connection to use. This connection corresponds to:
<Recipient>: Character string
Name of the recipient. This name must correspond to a user defined in the database of Control Centers.
<Minimum level>: Integer constant
Minimum level of gravity from which a notification is sent:
hNotifCriticalThe notifications will be sent from the critical level (for the critical and error problems).
Example of a critical error: "Error during replica preparation on the master."
hNotifErrorThe notifications will be sent for the error problems only.
Error example: "The server activity statistics file is damaged. It will be reinitialized."
hNotifInformationThe notifications will be sent from the information level (for the information, warning, critical and error problems)
Examples of information:
  • During the automatic server update:
    • "The server will be stopped for update. Another notification will be added after the update."
    • "The server was updated to version XXX."
  • During the search for necessary keys on a database in exploitation.
hNotifWarningThe notifications will be sent from the warning level (for the warning, critical and error problems).
Example warning: "Server XX and server YY do not have the same time. Conflict resolution during replication may be distorted."

The order of gravity is:
  • Information.
  • Warning.
  • Error.
  • Critical.
Component: wd300hf.dll
Minimum version required
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/12/2025

Send a report | Local help