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...
7. HFSQL: files physically created
Interface of WDInst
SourceFromWindow (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....
Binding a Combo Box control to an item
FilePath (Property)
The FilePath property gets: the name of the xlsx file associated with a Spreadsheet control. the name of the file associated with an Image Editor control. the name of the PDF file associated with a PDF Reader control. the name of the DOCX file associated with a Word Processing control. the name of the wddiag file associated with a Diagram Editor control....
EmulateWindow (Function)
Indicates the test that will be run during the next window opening.
3. Handling files on an FTP server
FTP (File Transfer Protocol) is a protocol for transferring files from one site to another....
Table control based on a data file
A Table control based on a data file is a control whose columns are bound to the items of a data file or query (data source)......
The triggers
A trigger is a WLanguage procedure automatically called by the HFSQL engine whenever a modification is performed (addition, deletion, modification, ......
Installing an HFSQL Client/Server server with an application
When creating the setup program of a WINDEV application using HFSQL Client/Server data files, the wizard allows you to......
ListView control linked to a data file (or to a query)
A ListView control can be used to display the content of a data file (or the content of a query)......
SynchroHFSQL (Property)
The SynchroHFSQL property is used to: get the refresh mode of a Table control based on a data file linked to an HFSQL Client/Server data file. specify the refresh mode of a Table control based on a data file linked to an HFSQL Client/Server data file....
WDMap: Characteristics of the files found in a database
WDMap is used to get various characteristics specific to......
Sensor functions
The following functions are used to manage the compass and the accelerometer in an application run on a mobile device (phone or tablet)....
FullTextIndex description (Type of variable)
A FullTextIndex description variable is used to describe one or more full-text indexes through programming.
CtDescribedPassword (Property)
The CtDescribedPassword property allows you to set the password used to open the data file in an OLE DB connection (file defined in the code only).
UploadCurrentFileSizeSent (Function)
Returns the size (in bytes) already sent for the file currently uploaded via an Upload control.
<Upload>.CurrentFileSizeSent (Function)
Returns the size (in bytes) already sent for the file currently uploaded via an Upload control.
How to create a query with external join?
In SQL language, an external join is used to exclude or include file records with or without correspondences in the linked files......
Report based on a data file
A report based on a data file is used to print the records coming from a single data file (HFSQL Classic or Client/Server, accessed via a Native Access, ......
The structure of the file for remote control
The management of remote control uses a file in INI format......
grDestinationWMF (Function)
Defines a meta file as chart destination.
Describing the replicated files (ReplicEdit)
A replication includes one or more data files......
fBuildPath (Function)
Builds a complete file path from the directory and short name of a file. This function is mainly used to get a valid file name without having to worry about the presence of separators in the path ('/' or '\') or about their direction according to the platform....
<Window>.ToFile (Function)
Automatically updates: the values of a data file's items in memory with the values from the controls in the window. The data file items bound to the window controls are automatically updated with the values of these controls. the value of the WLanguage variables with the value of the window controls. The WLanguage variables bound to the window controls are automatically updated with the values of these controls. This function is also available for WEBDEV pages....