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...
<Connection variable>.SetServer (Function)
Used to find out and modify some settings of HFSQL Client/Server server....
<Connection variable>.ManageTask (Function)
Enables or disables a scheduled task on an HFSQL Client/Server server....
<Connection variable>.InfoDatabaseRights (Function)
Allows you to find out the rights granted to a user or to a group on a database.
<Connection variable>.InfoFileRights (Function)
Allows you to find out the rights granted to a user or to a group on an HFSQL Client/Server data...
<Connection variable>.InfoServerRights (Function)
Allows you to find out the rights granted to a user or group of users on a server.
<Connection variable>.InfoViewRights (Function)
Allows you to find out the rights granted to a user or to a group on an SQL view...
<Connection variable>.NoDatabaseAccess (Function)
Denies all new connections to a database or to all databases.
<Connection variable>.ListDatabase (Function)
Lists the Client/Server databases associated with a connection....
<Connection variable>.ListStoredElement (Function)
Returns the list of elements stored on an HFSQL server (sets of procedures, stored procedures...
<Connection variable>.ListGroup (Function)
Returns the list of groups of users defined for a connection.
<Connection variable>.ListScheduledOptimization (Function)
Lists the scheduled optimization tasks of HFSQL Client/Server data files for a connection....
<Connection variable>.ListParameter (Function)
Returns the list of parameters saved from the stored procedures on the server.
<Connection variable>.ListScheduling (Function)
Lists the scheduled tasks defined on an HFSQL server: stored procedure, backup,...
<Connection variable>.ListScheduledBackup (Function)
Lists the full and differential backups that have been scheduled on HFSQL Client/Server....
<Connection variable>.ListTask (Function)
Lists the scheduled tasks of an HFSQL Client/Server server for a given connection....
<Connection variable>.ListUser (Function)
Returns the list of users defined for a connection.
<Connection variable>.ServerMaintenance (Function)
Checks and optimizes the system tables of an HFSQL server.
<Connection variable>.UpdateSet (Function)
Creates or updates a set of procedures on an HFSQL server.
<Connection variable>.UpdateQuery (Function)
Creates or updates a query on an HFSQL server.
<Connection variable>.UpdateView (Function)
Creates or updates the description of an SQL view or materialized view from the analysis...
<Connection variable>.ModifyDatabaseRights (Function)
Modifies the rights granted to a user or to a group for a HFSQL Client/Server database....
<Connection variable>.ModifyFileRights (Function)
Modifies the rights granted to a user or group on an HFSQL Client/Server data file....
<Connection variable>.ModifyServerRights (Function)
Modifies the rights granted to a user or to a group on a HFSQL server.
<Connection variable>.InfoFile (Function)
Returns the characteristics of an HFSQL Classic or Client/Server data file....
<Connection variable>.InfoGroup (Function)
Returns information about the specified group of users.