ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Version: 2025

Declaring a procedure/a function
The different syntaxes for declaring a procedure...
Global procedure/function
A global procedure can be used in all the processes or events of the project.
Parameters of a procedure/function
You have the ability to pass parameters to a procedure.
Passing parameters
The parameters can be passed to a procedure...
Parameters of a procedure with a variable number of parameters
When the procedure uses a variable number of parameters, you must be able to handle the different parameters passed to the function in the code of the procedure.
Typecasting of parameters
The description of the parameter type is optional...
Local procedure
Two types of procedures are available...
<HFSQL connection>.RSRenameServer (Function)
Changes the DNS name of the replication server if it has a new name.
<HFSQL file>.ExportJSONString (Function)
Exports the records from a data file (HFSQL or OLE DB), view or query to a JSON string.
<DateTime type>.ToString (Function)
Converts a DateTime to string in the specified format.
Canada.CheckBN15 (Function)
Checks the validity of a Canadian 15-digit Business Number (BN15).
Canada.CheckBN9 (Function)
Checks the validity of a Canadian 9-digit Business Number (BN9).
<Diagram editor>.DiagramInfoXY (Function)
Indicates the presence of a shape at a given position in the Diagram Editor control.
<Connection variable>.NotifListEmailRecipient (Function)
Returns the list of recipients for a notification by email.
<Connection variable>.NotifDeleteCCRecipient (Function)
Deletes the recipients of a notification sent via the Control Centers (WDBal messaging tool).
<Connection variable>.NotifDeleteEmailRecipient (Function)
Deletes the recipients of an email notification.
<Connection variable>.OperationInProgress (Function)
Returns the list of automatic operations in progress on an HFSQL server.
<Connection variable>.OpenConnection (Function)
Opens a connection to a specific database.
<Connection variable>.Priority (Function)
Finds out and modifies the priority of the calling application.
<Connection variable>.PriorityClient (Function)
Modifies the priority of a client application.
<Connection variable>.ConnectionQuality (Function)
Returns the quality level of connection: the higher the level is, the faster the connection will be.
<Connection variable>.RefreshView (Function)
Asks to recalculate the content of a materialized view.
<Connection variable>.RetrieveLog (Function)
Creates a text file containing the server logs between two given dates.
<Connection variable>.RetrieveBackup (Function)
Retrieves locally the content of a compressed backup (in ZIP format) performed on an HFSQL server.
<Connection variable>.RestoreBackup (Function)
Used to restore: an immediate backup (performed by HBackup or via the HFSQL Control Center),...
<Connection variable>.RSAddConfig (Function)
Adds a replication between two HFSQL server onto the master server.
<Connection variable>.RSWaitForDataProcess (Function)
Waits for: the replication data on the master server to be sent to the subscriber server....
<Connection variable>.RSExecute (Function)
Immediately runs a recurring replication between HFSQL servers: the replication is triggered...
<Connection variable>.RSInfo (Function)
Reads the replication configuration for an HFSQL server that takes part in one...
<Connection variable>.RSInit (Function)
Configures an HFSQL server in order for this server to be a master server or a subscriber server...
<Connection variable>.RSListConfig (Function)
Lists the replications available on a master HFSQL server.
<Connection variable>.RSModifyConfig (Function)
Modifies some parameters of an existing replication between two HFSQL servers.