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...
<Source>.ListQueryParameter (Function)
Returns the list of parameters for a query created in the query editor.
<Source>.ListSynonym (Function)
Returns the list of synonyms used by a full-text index.
<Source>.Read (Function)
Reads a record in a file according to a given record number.
<Source>.ReadLast (Function)
Sets the position on the last record of a data file according to a browse item.
<Source>.ReadPrevious (Function)
Sets the position on the previous record of a file according to a browse item.
<Source>.ReadFirst (Function)
Sets the position on the first record according to a browse item.
<Source>.ReadSeek (Function)
Sets the position on the first record whose value for a specific item is greater than or equal...
<Source>.ReadSeekLast (Function)
Sets the position on the last record whose value for a specific item is less than or equal...
<Source>.ReadSeekFirst (Function)
Sets the position on the first record whose value for a specific item is strictly equal to a sought...
<Source>.ReadNext (Function)
Sets the position on the next data file record according to a browse item.
<Source>.UpdateLink (Function)
Updates on the server all the links of an HFSQL Client/Server data file....
<Source>.Mode (Function)
Changes the mode and the method for locking data files.
<Source>.Modify (Function)
Modifies the specified record or the record found in memory in the data file (query or view).
<Source>.ModifyStructure (Function)
Used to update the structure of an HFSQL data file by performing an automatic data modification...
<Source>.NbRec (Function)
Returns the number of records in a file, query or HFSQL view: active records, crossed records,...
<Source>.Open (Function)
Opens a data file.
<Source>.Password (Function)
Defines the password used to create or open a data file.
<Source>.GetCurrentPosition (Function)
Returns the approximate position of current record in the data file.
<Source>.Previous (Function)
Positions on the previous file record according to a browse item.
<Source>.First (Function)
Sets the position on the first record of a data file according to the specified browse item.
<Source>.PrepareQuery (Function)
Initializes a query and declares this query to the database server in order to optimize the next...
<Source>.Reset (Function)
Initialize: one or all variables of file items with their default values. one or all items...
<Source>.RetrieveItem (Function)
Returns the content of an item found in the current record (in the data file, view, query, ...).
<Source>.Track (Function)
Starts tracking write actions (addition, modification or deletion) performed on a file found...
<Source>.TrackStop (Function)
Stops tracking a data file on an HFSQL server.