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...
HDBDescribeField (Function)
Describes through programming each item found in the structure of an xBase file described by HDBDescribeFile.
HDeclare (Function)
Declares a description of data file (found in an analysis) in the current project.
7. Creating HFSQL files: files physically created
The data model editor allows you to define the structure of the data files....
Requirement
To manage the project development lifecycle, the Project Management Hub allows you to set requirements......
Creating a query
Two methods can be used to create a query......
Native Oracle Connector: Programming with SQL functions
The SQL functions can be used to handle the ORACLE database, regardless of whether WDORAINS is used or not to configure the accessed database......
Content of the Table control
A Table control can be based on a data file, based on a variable or populated programmatically......
WDSQL: Creating an SQL query
Once the connection to the database is established, WDSQL allows you to create different types of SQL queries......
Error 403: The item does not belong to the file
NotesExtractAttachment (Function)
Extracts a file attached to an item of the current document in Lotus Notes.
NotesModifyAttachment (Function)
Modifies a file attached to an item of the current document in Lotus Notes.
NotesDeleteAttachment (Function)
Deletes an attached file from an item of the current document in Lotus Notes.
Screen,ScreenToFile (External language)
Initializes the file items with the value of the window controls bound to these items.
Screen,FileToScreen (External language)
Initializes the window controls with the values of the file items linked to the controls.
rssSave (Function)
Builds the RSS stream and saves the RSS stream in an XML file.
PDFIsProtected (Function)
Checks whether the PDF file requires a password in order to be read.
CertificateCheckFileSignatureBuffer (Function)
Checks the correspondence between a signature and a file. The signature was stored as a Buffer variable.
UploadFileSize (Function)
Returns the total size (in bytes) of a file found in an Upload control.
Table,Save (External language)
Updates or adds a record in the data file linked to the Table control.
XMLOpen (Function)
Loads an XML document from a file, a URL or a string into an xmlDocument variable.
dLoadImage (Function)
Loads an image in an Image variable from a memo, a file or a binary buffer.
SpreadsheetLoad (Function)
Loads a file in XLSX format in a Spreadsheet control found in a window.
<PDF Reader>.Close (Function)
Closes and frees the PDF file displayed in a PDF Reader control.
<Upload>.FileSize (Function)
Returns the total size (in bytes) of a file found in an Upload control.
PDFReaderClose (Function)
Closes and frees the PDF file displayed in a PDF Reader control.