ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Version: 2026

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
fBuildRelativePath (Function)
Returns the path to a file relative to a reference directory.
fWatchStopAll (Function)
Stops all current watch tasks of files and directories.
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, ...).
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).
fListResource (Function)
Lists the resources integrated to the application.
fWrite (Function)
Writes:
  • a character string to an external file.
  • a memory section.
fWatchFile (Function)
Starts watching a file.
<DiskFile variable>.Write (Function)
Writes:
  • a character string to an external file.
  • a memory section.
fAddBuffer (Function)
Adds the content of a buffer at the end of a file.
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 websites...
fWatchStop (Function)
Stops watching a file or directory.
fLoadText (Function)
Loads the contents of a text file into any text field or variable (string variable, window edit control, report label field, etc.).
fWatchDirectory (Function)
Detects changes made to the contents of a directory.
fLoadBuffer (Function)
Loads the content of an external file (text, image, ...) in a buffer variable.
fChangeExtension (Function)
Changes the extension of a file on disk.
fIsImage (Function)
Determines whether a file on disk or in a buffer corresponds to an image format recognized by WINDEV or WEBDEV.
How to read in a text or CSV file?
This help page explains how to read the content of a text or CSV file.
<DiskFile variable>.Find (Function)
Finds a character string or a buffer in a file opened by fOpen.
fAddText (Function)
Adds the content of a character string at the end of a file.
How to write into a text or CSV file?
This help page explains how to write into a text or CSV file.
<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).
fSaveBuffer (Function)
Creates and fills a text file with the content of a string or buffer variable.
fFind (Function)
Finds a character string or a buffer in a file opened by fOpen.
Print modes of a report
Several print modes are available for a report.
fExtractResource (Function)
Extracts a resource from the application into a physical device location.
fInsertTextAtBeginning (Function)
Inserts text at the beginning of a file without overwriting the existing text.
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...
OLECreateEmpty (Function)
Associates an OLE control with an OLE object by invoking a specific OLE server.
DateTimeLocalToTimeZone (Function)
Converts a local date and time to the date and time in a particular time zone.
AFTER
Runs a process only after a given procedure has been executed, and continues to execute the current code while waiting for this procedure to end.
SQL statements
The main SQL statements allowed in the SQL queries managed by WINDEV and WEBDEV are as follows......
BankHolidayAdd (Function)
Indicates that a day (or a list of days) is a public holiday.
AttachPointDeleteAll (Function)
Deletes all the connection points for a control.
CurrentYear (Function)
Returns the current year in integer format.
LastDayOfWeek (Function)
Returns the date of the last day of the week corresponding to a given date.
<Date type>.ToString (Function)
Converts: a date to a string in the specified format. a date time to a string in the specified format....
DateValid (Function)
Checks the validity of a date between January 01 0001 and December 31 9999.
ChronoValue (Function)
Indicates the time elapsed (in milliseconds) since the call to ChronoStart.
btleDescriptor (Type of variable)
The btleDescriptor type is used to handle the descriptor of a Bluetooth Low Energy characteristic
<Duration type>.ToString (Function)
Converts a duration to a character string in the specified format.
iDocumentPrinted (Function)
Determines whether the user printed the document from the report viewer.
AttachPointAdd (Function)
Defines an attach point for one of the two extremities of a Wire control.
IntegerToTime (Function)
Converts an integer into a time in HHMMSSCC format.
IntegerToDate (Function)
Converts an integer into a date in YYYYMMDD format.
Project Management Hub: Managing tasks
The Project Management Hub allows you to define the different tasks assigned to each project contributor......
Address
The Address keyword can correspond to...
<Array>.Shuffle (Function)
Shuffles the elements of a WLanguage array.
The Popup control
The Popup control is a control used to associate a popup with a page. This popup, displayed from the page into which it is inserted, is used to easily establish a dialog with the user....
Calendar functions (prefix syntax)
Today (Function)
Returns or modifies the system date (date of the day defined on the current computer).
OLESave (Function)
Saves the object found in an OLE control in binary format.
GetActiveObject (Function)
Allows to use an Automation object already started on the current computer.