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...
HImportJSON (Function)
Imports a JSON file into a data file in HFSQL Classic format (data file described in the data model editor or declared by HDeclare, HDeclareExternal or HDescribeFile).
HSeekLast (Function)
Sets the position on the last file record whose value for a specific item is less than or equal to a sought value.
FTPAttribute (Function)
Identifies the attributes of a file found on an FTP server (File Transfer Protocol).
SQLCode (Property)
The SQLCode code property is used to get the SQL code of a query created with the query editor (".WDR" file).
<Source>.SeekLast (Function)
Sets the position on the last file record whose value for a specific item is less than or equal to a sought value.
FilterCondition (Property)
The FilterCondition property allows you to know the selection condition set by HFilter on a data file, HFSQL view or query.
FTPRenameFile (Function)
Renames or moves a file found on an FTP server (File Transfer Protocol).
<Source>.ImportJSON (Function)
Imports a JSON file into a data file in HFSQL Classic format (data file described in the data model editor or declared by HDeclare, HDeclareExternal or HDescribeFile).
fSizeUncompressed (Function)
Returns the size of a file before compression. When a file is decompressed by fUncompress, we recommend that you to compare the non-compressed size of file with the available disk space.
UTF8Valid (Function)
Tests the validity of a string in UTF8 format.
Functions for managing objects (External language)
FTPGetFile (Function)
Transfers a file from an FTP (File Transfer Protocol) server to the current computer.
How to create an SQL query to get a TOP 10?
This help page presents the method for creating an SQL query used to get the first 10 records......
HintTextColor (Property)
The HintTextColor property is used to get and change the hint text color of an Edit control.
<Source>.ImportXML (Function)
Imports an XML file into an HFSQL Classic or Client/Server data file (data file described in the data model editor or declared by HDeclare, HDeclareExternal or HDescribeFile)....
Defining a unique name for the generated file
When generating a file on the Web server (PDF, HTML, ......
HImportXML (Function)
Imports an XML file into an HFSQL Classic or Client/Server data file (data file described in the data model editor or declared by HDeclare, HDeclareExternal or HDescribeFile)....
<Source>.LockFile (Function)
Locks a data file and restricts the access to this data file for all other sites or applications.
HLockFile (Function)
Locks a data file and restricts the access to this data file for all other sites or applications.
The log process
...A log is a special file that contains the history of all changes made to one or more data files over a given period of time (date the file was created, last automatic data modification, last backup created with WDLog, etc.)...
FTPName (Function)
Returns the name of last file accessed by an FTP function (File Transfer Protocol).
FTPSize (Function)
Returns the size (in bytes) of a file found on an FTP server (File Transfer Protocol).
FTPGet (Function)
Transfers a file or directory from an FTP (File Transfer Protocol) server to the current computer.
NetDiskList (Function)
Lists the available disks: on the FTP server (File Transfer Protocol) or on the RPC server (Remote Procedure Call) powered by WINDEV, on the client computer. This function is kept for backward compatibility....
Typing multilingual texts
For a multilingual application, you have the ability to......