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>.Password (Function)
Defines the password used to create or open a data file.
<hdfsConnection variable>.CopyTo (Function)
Copies a file located on the local machine to a Hadoop server.
<Multimedia>.Stop (Function)
Stops playing a media file found in a Multimedia control.
<Multimedia>.Beginning (Function)
Positions at the beginning of the media file played in the Multimedia control.
<Multimedia>.Status (Function)
Indicates the status of the multimedia file played in the Multimedia control.
<Multimedia>.End (Function)
Positions at the end of media file played in the Multimedia control.
HTMLEditorToPDF (Function)
Exports the content of an HTML Editor control to a PDF file.
<HTML editor>.ToPDF (Function)
Exports the content of an HTML Editor control to a PDF file.
PDFClose (Function)
Closes the PDF file loaded in memory in a pdfDocument variable.
iSetAdditionalXMP (Function)
Adds XMP tags to the metadata of the generated PDF file.
<Source>.DeleteAll (Function)
Deletes all records from a data file, an HFSQL view or a query.
<Source>.Read (Function)
Reads a record in a file according to a given record number.
<hdfsConnection variable>.CopyFrom (Function)
Copies a file found on a Hadoop server to the local computer.
<Source>.GetCurrentPosition (Function)
Returns the approximate position of current record in the data file.
<Source>.Previous (Function)
Positions on the previous file record according to a browse item.
<Source>.CheckMemo (Function)
Checks the structural integrity of memos in an HFSQL data file.
<Connection variable>.SetIntegrity (Function)
Enables or disables the management of an integrity constraint on a file link.
<Connection variable>.ModifyFileProperty (Function)
Modifies the properties of an HFSQL data file located on a server.
MCIBeginning (Function)
Positions at the beginning of a media file that was opened beforehand MCIOpen.
MCIStatus (Function)
Returns the status of a media file that was opened beforehand MCIOpen.
WHelp (Function)
Displays a file or a help page in HLP or CHM format.
MCIEnd (Function)
Positions at the end of a media file that was opened beforehand MCIOpen.
MCIPause (Function)
Pauses playback of the media file previously opened (MCIOpen).
MCIStopPlaying (Function)
Stops the execution of a media file that was opened beforehand (MCIOpen).
HSetIntegrity (Function)
Enables or disables the management of an integrity constraint on a file link.