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>.Modify (Function)
Modifies the specified record or the record found in memory in the data file (query or view).
<Upload>.CurrentFileSize (Function)
Returns the total size (in bytes) of the file currently uploaded via an Upload control.
<TimeLine>.Display (Function)
Reinitializes the content of a TimeLine control from its data source (HFSQL data file for example).
<List Box>.Display (Function)
Refreshes a List Box, ListView or Combo Box control based on a data file.
<Organizer>.Display (Function)
Reinitializes the content of an Organizer control from its data source (HFSQL data file for example).
fContentType (Function)
Returns the type of file according to the MIME standard (Multipurpose Internet Mail Extensions).
<Multimedia>.Height (Function)
Returns the height (in pixels) of the source image of the multimedia file played in the Multimedia control.
<Multimedia>.Width (Function)
Returns the width (in pixels) of the source image of the multimedia file played in the Multimedia control.
<Multimedia>.Position (Function)
Returns or modifies the current position of the media file currently played in the Multimedia control.
DownloadParameter (Type of variable)
The DownloadParameter type is used to define all the advanced characteristics of a file download performed by DownloadAdd.
<Source>.ListKey (Function)
Returns the list of keys found in a file (query or view) recognized by the HFSQL engine.
<Source>.InitSubscriber (Function)
Initializes the range of automatic identifiers for the description file of subscriber replica (".RPL" extension).
<Upload>.Size (Function)
Returns the total size (in bytes) of the file currently uploaded via an Upload control.
<Source>.RetrieveItem (Function)
Returns the content of an item found in the current record (in the data file, view, query, ...).
<Connection variable>.ModifyFileRights (Function)
Modifies the rights granted to a user or group on an HFSQL Client/Server data file....
TableToWord (Function)
Creates a Word file (.RTF) from the data found in a Table or TreeView Table control.
MCIWindowSize (Function)
Changes the size and position of the display window of a media file previously opened (MCIOpen).
ListDisplay (Function)
Refreshes a List Box, ListView or Combo Box control based on a data file
HInitSubscriber (Function)
Initializes the range of automatic identifiers for the description file of subscriber replica (".RPL" extension).
HRetrieveItem (Function)
Returns the content of an item found in the current record (in the data file, view, query, ...).
H.AutoIndexingLimit (Variable)
Indicates the maximum number of records in the data file used to manage the automatic reindexing.
H.NbRetryRead (Variable)
Indicates the number of attempts to read the file or record before giving control back to the program.
H.NbRetry (Variable)
Indicates the number of attempts for locking the file or the record before giving control back to the program.
zipChangePath (Function)
Modifies the stored path of a file in an archive (in ZIP, WDZ or 7z format).
HModifyFileRights (Function)
Modifies the rights granted to a user or group on an HFSQL Client/Server data file....