ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Version: 2025

Calling a procedure/a function
Syntax for calling a local or global procedure.
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.
Local procedure
Two types of procedures are available...
Typecasting of parameters
The description of the parameter type is optional...
Prototype overload/Overload
The procedures and the methods of classes can have several syntaxes.
<Source>.SeekFirst (Function)
Positions on the first file record whose value for a specific item is greater than or equal...
<Source>.Backward (Function)
Moves backward several records from the current position in the data file, according to a specified...
<Source>.RetrieveRecord (Function)
Returns the content of the current record (in a file, a view or a query, ...).
<Source>.SavePosition (Function)
Stores the current file context: current record, filter, pointers.
<Source>.StatCalculate (Function)
Performs various statistical calculations on the file keys.
<Source>.StatDate (Function)
Returns the date of the last update for the index statistics.
<Source>.StatNbDuplicates (Function)
Returns the number of duplicates for a given key item.
<Source>.Seek (Function)
Positions on the first record of the data file whose value for a specific item is greater...
<Source>.StatNbRecRange (Function)
Returns an estimate regarding the number of entries for a given key item in a given interval...
<Source>.StatNbRec (Function)
Returns the number of entries for a given key item.
<Source>.DeleteAll (Function)
Deletes all records from a data file, an HFSQL view or a query.
<Source>.TransactionFree (Function)
Transforms all "in transaction" records into "Normal" records if they do not belong to an ongoing...
<Source>.CheckStructure (Function)
Defines the mode for comparing data files.
<Source>.ToFile (Function)
Copies a data source (file, query, view, ...) to a physical HFSQL file with the same description....
<Source>.Version (Function)
Used to find out: whether the content of a file was modified. whether the content of a file...
<Source>.Out (Function)
Allows you to find out whether the record on which you want to be positioned is located outside...
<Source>.RecordToJSON (Function)
Retrieves the structure and value of the current record and exports them into a string in JASON...
<Source>.ExportCSV (Function)
Exports the records found in a data file (HFSQL or OLE DB), a view or a query to a CSV file.
<Source>.ExportJSON (Function)
Exports the records found in a data file (HFSQL or OLE DB), view or query to a JSON file.
<Source>.ExportXLS (Function)
Exports records from a data file (HFSQL or OLE DB), view or query to an Excel file (XLSX).
<Source>.ExtractMemo (Function)
Extracts the content of a binary memo item from an HFSQL file, a query or an HFSQL view...
<Source>.Close (Function)
Closes a data file or all the data files opened by the current user: all the corresponding physical...
<Source>.Filter (Function)
Defines and enables a filter on a data file, view or query.
<Source>.FTListWord (Function)
Lists the words of the current record that will be taken into account by the full-text indexing.
<Source>.FilterStartsWith (Function)
Defines and enables a "Start with" filter on a file, view or query.