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...
PDFExtractPage (Function)
Extracts a page from a PDF file in a variable of type Image.
HGetCurrentPosition (Function)
Returns the approximate position of current record in the data file.
HPrevious (Function)
Positions on the previous file record according to a browse item.
HChangeRplDir (Function)
Modifies the location for the description of subscriber replica (RPL file).
HDBCreation (Function)
Ends the description of the structure of an xBase data file through programming.
<diagLibrary variable>.LoadLibrary (Function)
Loads a diagram file and creates a library of preset shapes from it.
HPass (Function)
Defines the password used to create or open a data file.
<Variable pdfDocument>PageExtract (Function)
Extracts a page from a PDF file in a variable of type Image.
<Variable gglDrive>DeleteFile (Function)
Removes a Google Suite file inside a Google Drive.
Keyboard shortcut and hotkey
A control in a window or page can be associated with an alphanumeric character, a key or combination of keys ("keyboard shortcut"), etc....
zipExtractFile (Function)
Extracts a file from an archive and automatically decompresses it to a physical location or in memory.
WDInst: managing the files to install
The setup editor WDInst is used to manage the files to install......
TableDisplay (Function)
Refreshes a Table or TeeeView Table control from a given position: for a control linked to a file: changes made in the linked data file are reflected in the control. for a control handled programmatically: the calculated columns are re-calculated....
List Box control linked to a data file or to a query
A List Box or Combo Box control can be used to display the content of a data file or query, to allow a user to select a record, for example......
How to perform a full file browse?
How to loop through a file using filters?
Handling the versions of a window, report, query or project
When creating and developing the different elements of a project (window, query, report, project, ......
grDestinationBMP (Function)
Defines a BitMap file as destination of a chart (BMP means BitMap).
InAutomaticTestMode (Function)
Used to find out whether an automatic test is currently run or not.
Creating an executable: General options
The main executable options are as follows......
Using offline sites
WEBDEV allows you to specify that a site or a set of pages can operate in off-line mode (without an Internet connection)....
Implementing the log process in an application
Regardless of the data files used by your application (HFSQL Classic or HFSQL Client/Server), the log process can be implemented on these data files......
xBase files: Limits
<Table>.Display (Function)
Refreshes a Table or TeeeView Table control from a given position: for a control linked to a file: changes made in the linked data file are reflected in the control. for a control handled programmatically: the calculated columns are re-calculated....