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...
<Source>.RetrieveRecord (Function)
Returns the content of the current record (in a file, a view or a query, ...).
FTPMakeDir (Function)
Creates a directory on an FTP server (File Transfer Protocol).
WDTestRest: Run the test of your REST Webservices
WDTestRest is used to test the calls to an HTTP REST Webservice or to run a Web API accessible by HTTP......
WLanguage procedure called by fListFile
WLanguage procedure ("Callback") called by fListFile for each file found.
WLanguage procedure called by fCopyFile
WLanguage procedure ("callback") called by fCopyFile for each copied file.
pdfParameter (Type of variable)
The pdfParameter type defines all the characteristics of the PDF file to be generated.
grSaveBMP (Function)
Saves a chart that was previously drawn in a file in BMP format.
Defining colors in Table controls
The colors of a Table control (row background, text of rows, etc.) are defined in the control description......
DocAdd (Function)
Adds: at the end of a Word Processing document: an element, a document, a paragraph, a text, an image or a fragment. at the end of a fragment: an element, a text or an image....
DiagramLoadLibrary (Function)
Loads a diagram file and creates a library of preset shapes from it.
xlsNbColumn (Function)
Returns the number of columns found in a worksheet of an XLS file.
HRetrieveRecord (Function)
Returns the content of the current record (in a file, a view or a query, ...).
OLECreateCopy (Function)
Associates an OLE control with an OLE object while specifying a base file.
xlsColumnType (Function)
Returns the type of data entered in a column of an XLS file.
ExeRun (Function)
Executes a program (an executable file, for example) from the current application.
fDataDirCommon (Function)
Returns a directory path for the shared data of the current application: between all the users of the computer between all the TSE users This directory can be used without restriction in Windows XP, Vista, ... This directory is used to store: the files for the general configuration of the application (.INI files, .XML files, etc.). the data files common to all the users (HFSQL .fic, .ndx and .mmo files)....
HDeleteAll (Function)
Deletes all records from a data file, an HFSQL view or a query.
WDMap: Viewing records: special cases
This help page presents the special display cases in WDMap......
CurrentColumn (Function)
Returns: the index of the current indexed column in a Table control (based on a data file or populated programmatically). the number of the column currently in edit mode in the specified Table control (based on a data file or populated programmatically)....
Testing a dynamic project from a test server
Before deploying your dynamic WEBDEV site, we recommend that you run the final tests from a test sever......
SaveParameter (Function)
Saves a persistent value in the registry or in another file specified by InitParameter.
GglFile (Type of Variable)
The GglFile type allows you to know all the characteristics of a file from the Google software suite (Docs, Sheets, etc.).
MultimediaStop (Function)
Stops playing a media file found in a Multimedia control.
MultimediaBeginning (Function)
Positions at the beginning of the media file played in the Multimedia control.
MultimediaClose (Function)
Closes the media file currently played in the Multimedia control.