ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Version: 2025

Report based on a text file
In a report based on a text file, the information to print is read from a text file or is directly assigned in the report controls...
Translating a text file with WDTRAD
fListResource (Function)
Lists the resources integrated to the application.
HImportText (Function)
Imports a Text file into an HFSQL Classic or Client/Server data file. This data file must have been defined in the data model editor, or declared with HDeclare, HDeclareExternal or HDescribeFile).
<Source>.ImportText (Function)
Imports a Text file into an HFSQL Classic or Client/Server data file. This data file must have been defined in the data model editor, or declared with HDeclare, HDeclareExternal or HDescribeFile).
Handling the external files
WINDEV, WINDEV Mobile and WEBDEV propose several functions allowing you to manage the external files from your WINDEV/WINDEV Mobile applications or from your WEBDEV sites...
fBuildRelativePath (Function)
Returns the path to a file relative to a reference directory.
fInsertTextAtBeginning (Function)
Inserts text at the beginning of a file without overwriting the existing text.
fAddBuffer (Function)
Adds the content of a buffer at the end of a file.
fFind (Function)
Finds a character string or a buffer in a file opened by fOpen.
<DiskFile variable>.Write (Function)
Writes:
  • a character string to an external file.
  • a memory section.
fLoadText (Function)
Loads the contents of a text file into any text field or variable (string variable, window edit control, report label field, etc.).
How to read in a text or CSV file?
This help page explains how to read the content of a text or CSV file.
Print modes of a report
Several print modes are available for a report.
fAddText (Function)
Adds the content of a character string at the end of a file.
fWatchDirectory (Function)
Detects changes made to the contents of a directory.
fSaveText (Function)
Creates and fills a text file with the content of a text control or text variable (string variable, edit control in a window, Static Text control in a report, ...).
fWrite (Function)
Writes:
  • a character string to an external file.
  • a memory section.
fExtractResource (Function)
Extracts a resource from the application into a physical device location.
How to write into a text or CSV file?
This help page explains how to write into a text or CSV file.
fIsImage (Function)
Determines whether a file on disk or in a buffer corresponds to an image format recognized by WINDEV or WEBDEV.
fLoadBuffer (Function)
Loads the content of an external file (text, image, ...) in a buffer variable.
<DiskFile variable>.Find (Function)
Finds a character string or a buffer in a file opened by fOpen.
fWatchFile (Function)
Starts watching a file.
fSaveBuffer (Function)
Creates and fills a text file with the content of a string or buffer variable.
Result of a query in test mode
After its execution in test mode (see Running the query test), the result of the query can be...
NetStartServer (Function)
Starts an FTP (File Transfer Protocol) or RPC (Remote Procedure Call) server powered by WINDEV. This function is kept for backward compatibility....
WDMap: Viewing the records found in a data file
WDMap is used to view the records found in a data file......
<Source>.CheckIndex (Function)
Checks whether the data found in the index file (.NDX file) properly refers the data found in the data file (.FIC file).
HCheckIndex (Function)
Checks whether the data found in the index file (.NDX file) properly refers the data found in the data file (.FIC file).
NetConnect (Function)
Connects to an FTP (File Transfer Protocol) or RPC (Remote Procedure Call) server powered by WINDEV. This function is kept for backward compatibility....
NetDisconnect (Function)
Disconnects from an FTP (File Transfer Protocol) or RPC (Remote Procedure Call) server powered by WINDEV. This function is kept for backward compatibility....
NbKeyItem (Property)
The NbKeyItem property is used to get the total number of key items (including composite keys) in a record of: a file described in the data model editor, a file described through programming, an HFSQL view, a query....
HListItem (Function)
Returns the list of items: found in a data file ( a query or a view) known to the HFSQL engine. The data files defined by HDeclare, HDeclareExternal and HDescribeFile are taken into account. found in a Record variable....
ToolTip (Property)
The ToolTip property gets and changes the tooltip text.
<Connection variable>.FileExist (Function)
Finds out if a file exists, i.e. if it has been physically created (HCreation or HCreationIfNotFound).
MCIPositionFormat (Function)
Fixes the format used to define the position in a media file (opened by MCIOpen).
Margin (Property)
The Property HEX@ allows you to define the size of a HEX@ , for example around a text.
How to sort the result of a query?
This help page explains how to create a sort query with the query editor....
dbgCheckFalse (Function)
Checks whether an expression is false in assertive programming and in automated test mode.
TestCheckFalse (Function)
Checks whether an expression is false in assertive programming and in automated test mode.
Managing the certificates
Signing a file allows you to check that the file was not modified or altered since it was signed. The signature also allows you to check the issuer identity....
INIWrite (Function)
Writes a specific value into an INI file (or into a file structured like an.INI file).
<Connection variable>.CopyFile (Function)
Copies an HFSQL data file (.fic, .ndx and .mmo files if they exist): from the HFSQL server to the server (to perform a backup for example). from the HFSQL server to the client (to perform a local backup for example). from the client to the HFSQL server (to update the data files for example). from an HFSQL server to antoher HFSQL server....
HCopyFile (Function)
Copies an HFSQL data file (.fic, .ndx and .mmo files if they exist): from the HFSQL server to the server (to perform a backup for example). from the HFSQL server to the client (to perform a local backup for example). from the client to the HFSQL server (to update the data files for example). from an HFSQL server to antoher HFSQL server....
<Source>.Creation (Function)
Creates an empty data file (".FIC" extension) with the index file and the memo file if necessary.
Automated tests of procedures and classes
The automated tests of procedure or class are used to test the different features proposed by the procedure or by the class......
HCreation (Function)
Creates an empty data file (".FIC" extension) with the index file and the memo file if necessary.
NameBrowserFile (Property)
The NameBrowserFile property is used to get the original name of the file to upload on the user's computer....
<Source>.First (Function)
Sets the position on the first record of a data file according to the specified browse item.
"Test results" pane
The "Test results" pane shows the results of the different stand-alone tests in a project......