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...
HExportJSONString (Function)
Exports the records from a data file (HFSQL or OLE DB), view or query to a JSON string.
fDate (Function)
Returns or modifies the different dates associated with a file or directory (date created, modified or accessed).
Browsing the HFSQL data files
The "Key" items are used to organize the records in a data file in order to optimize the browse or the search......
HDBOpenNoLock (Function)
In single-user mode, opens an xBase data file without locking it.
HUnlockFile (Function)
Unlocks the records of a data file: locked by HLockFile. individually locked by a locking read function....
EmailImportHTML (Function)
Imports, into the Email structure or into an Email variable, the content of an HTML file in order to send it by email.
fTime (Function)
Returns or modifies the different times associated with a file or directory (date created, modified or accessed).
<HFSQL file>.ExportJSONString (Function)
Exports the records from a data file (HFSQL or OLE DB), view or query to a JSON string.
PDF file management functions
...PDF file functions...
HRplFilterProcedure (Function)
Defines the WLanguage procedure that will be called whenever a replication operation is performed on a specific file.
Appendix 3: Configuration file
Bloque entièrement ou partiellement un fichier externe....
zipSelectFile (Function)
Selects files from an archive.
Organizer control linked to a data file or to a variable
You have the ability to create Organizer controls linked to data....
Link Description (Type of variable)
A Link Description variable is used to describe a link between two data files through programming.
Testing a WEBDEV site on a mobile device
It is increasingly common for developers to test websites on mobile devices......
HSeekFirst (Function)
Positions on the first file record whose value for a specific item is greater than or equal to a sought value.
Testing and debugging a remote site
WEBDEV offers several methods to test and debug a site on the development computer (see The different types of WEBDEV sites)......
WEBDEV Application Server 2024
Multiline (Property)
The Multiline property determines if an element supports multiline text.
RTFAddLink (Function)
Adds a link to a text section in an RTF Edit control.
LineToPosition (Function)
Returns the position of the first character of a line in a block of text.
dTextRTF (Function)
Draws RTF text: in an Image control, in an Image variable....
FontBold (Property)
The FontBold property is used to manage bold style in a text.
FontItalic (Property)
The FontItalic property is used to manage italic style in a text.
CaptionHTML (Property)
The CaptionHTML property is used to handle text as HTML code.