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...
<Source>.Delete (Function)
Deletes a record from a data file (query or view).
dSaveImageBMP (Function)
Saves an image: in a file in BMP format. in memory....
WindowBitmap (Function)
Creates the image of the specified window in a BMP file.
fLongPath (Function)
Returns the full long path of a file or directory.
fShortPath (Function)
Returns the full short path of a file or directory.
HStatCalculate (Function)
Performs various statistical calculations on the file keys.
tapiRecord (Function)
Records the current communication as a".WAV" file.
tapiPlay (Function)
Plays a sound file (.WAV) for the specified line.
HModifyFileProperty (Function)
Modifies the properties of an HFSQL file located on a server.
HashFile (Function)
Calculates the Hash of a file according to a specific algorithm.
<pdfPage variable>.AddImage (Function)
Adds an image to a page in an existing PDF file.
<pdfDocument variable>.Save (Function)
Saves the content of a pdfDocument variable in a ".PDF" file.
dSaveImageGIF (Function)
Saves an image: in a file in GIF format. in memory....
<DiskFile variable>.FileName (Function)
Returns the name of an external file currently open.
HListREP (Function)
Returns the list of assignments for the data files handled by the current application, which means the list of physical files corresponding to the files described in the analysis.
fListFile (Function)
Lists the files found in a directory and returns the list of files.
HRead (Function)
Reads a record in a file according to a given record number.
Connection
The Connection keyword can correspond to: the Connection variable. the Connection property used to get and change the connection currently associated with a data file. For more details, see Connection. the Connection property of a hbScanParameter variable....
<Source>.FilterIdentical (Function)
Defines and enables a filter used to find the exact value of a string item.
GglGetDocument (Function)
Downloads a document from the Google Docs service.
Linking a Combo Box control to a data file
A List Box or Combo Box control can be used to display the content of a data file, to allow a user to select a record, for example......
Creating an insert query
An insert query (corresponding SQL statement......
grSaveEMF (Function)
Saves a chart that was drawn beforehand in a file in EMF format.
4. HFSQL Classic