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...
WLanguage procedure called by fTrackFile
WLanguage procedure ("callback") called by fTrackFile when a change is made to the tracked file.
<Word Processing>.Close (Function)
Closes the docx file associated with the Word Processing control and frees the document.
<Pivot table>.Save (Function)
Saves the result of the calculation performed in a Pivot Table control (in a file or in memory).
<Image variable>.SaveBMP (Function)
Saves an image contained in an Image variable: in a file in BMP format. in memory....
<Image variable>.SaveGIF (Function)
Saves an image found in an Image variable: in a file in GIF format. in memory....
AAFExportParameter (Function)
Saves all customizations made via AAFs (Automatic Application Features) in a file.
<Table>.RecNum (Function)
Returns the number of the current record in a Table control based on a data file.
<Scheduler>.Display (Function)
Reinitializes the content of a Scheduler control from its data source (HFSQL file for example).
<Multimedia>.Duration (Function)
Returns the size of the media file currently played (in milliseconds) in the Multimedia control.
<Multimedia>.Volume (Function)
Returns or modifies the sound volume of the multimedia file played in a Multimedia control.
<Source>.ChangePassword (Function)
Changes the password of an HFSQL Classic or HFSQL Client/Server data file....
<Source>.Alias (Function)
Creates a logical alias of a data file (or query) or cancels all existing aliases.
<Looper>.RecNum (Function)
Returns the number of the current record in a Looper control based on a data file.
GUIDAnalysis (Property)
The GUIDAnalysis property returns the GUID of the analysis that was used to create the data file.
LogDirectory (Property)
The LogDirectory property is used to manage the directory of the log file described in the analysis.
Secure (Property)
The Secure property is used to configure the security level of data file encryption.
LooperRecNum (Function)
Returns the number of the current record in a Looper control based on a data file.
TableToXML (Function)
Creates an XML file from the data found in a Table or TreeView Table control.
MCITrackCount (Function)
Returns the number of tracks found in a media file that was opened beforehand (MCIOpen).
MCIPosition (Function)
Returns or changes the current position in a media file previously opened (MCIOpen).
TableRecNum (Function)
Returns the number of the current record in a Table control based on a data file.
FTPDisconnect (Function)
Closes the connection between the current computer and the FTP server (File Transfer Protocol).
HCreateMasterReplica (Function)
Creates the description file of a Master Replica (logged replication or universal replication).
<Table>.ToXML (Function)
Creates an XML file from the data found in a Table or TreeView Table control.
<Diagram variable>.Load (Function)
Loads a diagram into a Diagram variable from a ".wddiag" file, a memo or a binary buffer.