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...
HNbRec (Function)
Returns the number of records in a file, query or HFSQL view: active records, crossed records, deleted records, etc.
WLanguage procedure called by SCPGetFile
WLanguage procedure ("callback") called by SCPGetFile when retrieving a file on a local computer using the Secure Copy Protocol (SCP).
HFileExist (Function)
Determines: whether a file exists, which means whether it was physically created (HCreation or HCreationIfNotFound). whether a view or a query was defined....
URIToBuffer (Function)
Loads in the background the content of a resource (image, text, etc.) identified by its URI in a buffer variable.
10. Embedded queries
Uploading and downloading files on Internet (WINDEV FTP and RPC)
Several methods can be used to upload and download files by Internet......
Server triggers
Server triggers are stored procedures executed by the server before or after a write operation performed on a database file......
Stemming (Property)
The Stemming property is used to enable stemming and to define the language used for stemming in a full-text index defined through programming.
fMerge (Function)
Merges several files into a single one.
<zipArchive variable>.ListFile (Function)
Returns the list of files found in an archive.
<Source>.CheckStructure (Function)
Defines the mode for comparing data files.
Editable reports
The report editor can be used to create form reports, which include different controls allowing users to enter data......
RowDetailsBinding (Property)
The RowDetailsBinding property allows you to identify and modify the data binding used to display the details of a row in a Table control based on a data file.
Deployment package
The deployment package creates a ZIP file containing the site's setup......
Materialized view
FileToMemoryTable (Function)
Populates a Table control programmatically with the records from a data file, HFSQL view or query (query created in the query editor or with HExecuteSQLQuery).
docElementText (Type of variable)
The DocElementText type is used to handle the characteristics of a Text element found in a DocElement variable.
SourceFromPage (Function)
Automatically updates: the value of the items in a data file with the value of the controls in the page. the value of the WLanguage variables with the value of the page controls....
gFontUnderlined (Function)
Builds a sequence of characters to specify whether or not the text that follows the call to this function is underlined.
DocPosition (Function)
Triggers the scroll of Word Processing control in order for the requested text to be entirely displayed.
PageToSource (Function)
Automatically updates: the value of the items in a data file with the value of the controls in the page. the value of the WLanguage variables with the value of the page controls....
<Word Processing>.Position (Function)
Triggers the scroll of Word Processing control in order for the requested text to be entirely displayed.
<Document variable>.Add (Function)
Adds at the end of a Document variable: an element, a document, a paragraph, a text, an image or a fragment.
SQLGetTextMemo (Function)
Retrieves the content of a Text Memo column found in the query result, for the current line.
diagText (Type of variable)
The diagText type is used to define all the advanced characteristics of a text associated with a shape in a diagram.