ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Version: 2026

How to create and run an SQL query through programming?
This help page explains how to create and run an SQL query through programming.
Overloading a WLanguage function or using a WLanguage function in an SQL query
WLanguage includes the "WL" keyword...
Report based on an SQL query with data accessed via a connection (ODBC, etc.)
A report based on an SQL query with data accessed via a connection can print records from a database accessible via a specific ODBC driver or via a Native Connector...
HExecuteSQLQueryAsynchronous (Function)
Executes an SQL query asynchronously.
SQL functions for accessing the external databases
List of SQL functions used to access the external databases
Cross-database queries
An SQL query can operate on different databases...
<Source>.ExecuteSQLQuery (Function)
Initializes a query written in SQL language and declares this query to the HFSQL engine.
HSuggestKeyStart (Function)
Starts collecting information on executed queries.
<Source>.ExecuteSQLQueryAsynchronous (Function)
Executes an SQL query asynchronously.
HSuggestKey (Function)
Returns a list of keys to add to data files to improve query performance.
HSuggestKeyEnd (Function)
Finishes collecting information on executed queries.
Creating a query in SQL code
The query editor allows you to create a query by typing SQL code...
HExecuteSQLQuery (Function)
Initializes a query written in SQL language and declares this query to the HFSQL engine.
OrganizerPosition (Function)
Displays an Organizer control from a specified date or returns the date of the first day (or the date of the last day) displayed in an Organizer control.
fMakeDir (Function)
Creates a directory (and the intermediate directories if necessary).
fCopyDir (Function)
Copies the contents of a directory and its subdirectories.
Length (Function)
Returns: the length of a string, i.e., the number of characters in the string (including spaces and binary zeros). the size of a buffer, i.e., the number of bytes in the buffer....
ListSelectCount (Function)
Returns the number of elements selected in a List Box, ListView or Combo Box control.
OrganizerDeleteAll (Function)
Deletes all the appointments from an Organizer control.
iPageHeight (Function)
Calculates the height of printable page (in millimeters) while taking the top or bottom margins into account.
iImageHeight (Function)
Calculates the height of the image to print (in millimeters).
iImageWidth (Function)
Calculates the width of the image to print (in millimeters).
iPageWidth (Function)
Calculates the width (in millimeters) of the printable page while taking the left or right margins into account.
iTextWidth (Function)
Calculates the width (in millimeters) of the text to print, according to the specified font.
Printing a report (iPhone/iPad, Android or Universal Windows App)
When creating a report, the test of this report can be run from the report editor......
11. Table/Looper controls
Spreadsheet report
The report editor allows you to create "Spreadsheet" reports......
Reports
A report provides a custom view of data......
URI (Type of variable)
The URI (Uniform Resource Identifier) type identifies physical or abstract resources (e.g. files or Web pages).
Anchor (Property)
The Anchor property sets the anchors of a control in a window, page or report.
fReadLine (Function)
Reads a line from an external file (ANSI or UNICODE).
OpenSister (Function)
Opens a non-modal sibling window.
dFont (Function)
Declares the font that will be used by dText: in an Image control, in an Image variable, in a WDPic variable (on the background layer), in a picLayer variable....
EmailReadLast (Function)
Reads the last incoming email according to the protocol used (POP3 or IMAP, MS Exchange, Lotus Notes or Outlook).
HLinkMemo (Function)
Used to associate a file with a binary memo item or to cancel the existing link between a file and a binary item.
EmailReadMessage (Function)
Reads an incoming according to the protocol used (POP3 or IMAP, Lotus Notes or Outlook).
CheckSpell (Property)
The CheckSpell property is used to enable or disable the automatic spelling checker.
Break in a Looper control
A break in a Looper control is used to group the data corresponding to one or more arguments......