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>.BuildKeyValue (Function)
Builds the value of a composite key to implement a filter (HFilter) or to perform a search...
<Destination>.CopyRecord (Function)
Copies: the content of the current record (loaded in memory) to the current data file record....
<Source>.Creation (Function)
Creates an empty data file (".FIC" extension) with the index file and the memo file if necessary.
<Source>.RecordDate (Function)
Returns the date and time that an HFSQL record was last modified (Classic or Client/Server)....
<Source>.Declare (Function)
Declares a description of data file (found in an analysis) in the current project.
<Source>.DeclareExternal (Function)
Temporarily imports into the current analysis the description of a data file from an existing HFSQL...
<Source>.Security (Function)
Enables or disables the automatic security mechanism on one or more data files.
<Source>.Last (Function)
Sets the position on the last record of a data file according to a browse item.
<Source>.DeactivateFilter (Function)
Temporarily disables the filter on a data file (view or query).
<Source>.DeactivateAutoFilter (Function)
Disables an automatic filter on the linked files when browsing an XML file.
<Source>.DeleteTrigger (Function)
Deletes a trigger.
<Source>.DuplicateRecord (Function)
Duplicates the record read in a data file: the record found in memory is added into the data file...
<Source>.DescribeFile (Function)
Describes a data file programmatically.
<Source>.Write (Function)
Writes a record into a data file without updating the indexes corresponding to all keys used...
<Source>.RecordToXML (Function)
Retrieves the structure and the value of the current record and exports them into a character...
<Source>.ErrorStatusModification (Function)
Returns the status of a record during a modification conflict.
<Source>.FileExist (Function)
Determines: whether a file exists, which means whether it was physically created (HCreation...
<Source>.ImportXML (Function)
Imports an XML file into an HFSQL Classic or Client/Server data file (data file described...
<Source>.MigrateLinkedCompositeKey (Function)
Migrates the values of the linked composite keys coming from a file in Hyper File 5.5 format...
<Source>.RecNum (Function)
Returns: the number of the current record in the HFSQL data file. the number of the current...
<Source>.Optimize (Function)
Used to handle the idle periods of a software (period without processes) to optimize the queries...
<Source>.SetPosition (Function)
Sets the position on a record, based on the approximate position of one of its items.
<Source>.PrepareSQLQuery (Function)
Initializes a query written in SQL language and declares this query to the database server in order...
<Source>.Cross (Function)
Crosses a record in a data file.
<Source>.SeekLast (Function)
Sets the position on the last file record whose value for a specific item is less than or equal...