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...
Handling files on an FTP server
FTP (File Transfer Protocol) is a protocol for transferring files from one site to another......
<Variable pdfDocument>ToText (Function)
Extract the text contained in an Document PDF.
MmoEncryption (Property)
The MmoEncryption property is used to set the encryption method of the memo file (.MMO) associated with the data file.
HTransactionStart (Function)
Starts a transaction on the data files (HFSQL or accessed via a Native Connector) and creates the transaction file.
<Connection variable>.Transaction (Function)
Starts a transaction on the data files (HFSQL or accessed via Native Access) and creates the transaction file.
HTransaction (Function)
Starts a transaction on the data files (HFSQL or accessed via a Native Connector) and creates the transaction file.
<Connection variable>.TransactionStart (Function)
Starts a transaction on the data files (HFSQL or accessed via Native Access) and creates the transaction file.
<zipArchive variable>.FileSize (Function)
Returns the size of one of the files found in the archive (in CAB, RAR, WDZ, ZIP, 7z, TAR or TGZ (TAR.GZ) format): the compressed size of the file. the size of file before compression....
zipFileSize (Function)
Returns the size of one of the files found in the archive (in CAB, RAR, WDZ, ZIP, 7z, TAR or TGZ (TAR.GZ) format): the compressed size of the file. the size of file before compression....
<Source>.Version (Function)
Used to find out: whether the content of a file was modified. whether the content of a file used by a query was modified....
HVersion (Function)
Used to find out: whether the content of a file was modified. whether the content of a file used by a query was modified....
9. Monitor your sites, servers, etc.
Text (Property)
Text is used to find out whether an item is a text item.
FTPRemoveDir (Function)
Deletes a directory and its content (files and sub-directories) from an FTP server (File Transfer Protocol).
WDInst: configuring the characteristics of the file setup
WDInst is used to configure the installation of files......
fDir (Function)
Finds a file or directory.
GenerationNumber (Property)
The GenerationNumber property is used to get the generation number of the physical data file associated with the logical data file.
PDF Reader control: How to use the ribbon and tabs
The PDF Reader control includes multiple features accessible via......
Manager of automated tests
The test manager is used to......
HDescribeFile (Function)
Describes a data file programmatically.
Unalterable data files
This feature is used to signal that a data file cannot be modified after writing......
<Window>.ToSource (Function)
Automatically updates: the values of a data file's items in memory with the values from the controls in the window. the value of the WLanguage variables with the value of the window controls. This function is also available for WEBDEV pages....
ScreenToFile (Function)
Automatically updates: the values of a data file's items in memory with the values from the controls in the window. the value of the WLanguage variables with the value of the window controls. This function is also available for WEBDEV pages....
<Source>.FromWindow (Function)
Automatically initializes: the values of a data file's items in memory with the values from the controls in the window. the value of the WLanguage variables with the value of the window controls. This function is also available for WEBDEV pages....
ScreenToSource (Function)
Automatically initializes: the values of a data file's items in memory with the values from the controls in the window. the value of the WLanguage variables with the value of the window controls. This function is also available for WEBDEV pages....