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...
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...
SQL functions for accessing the external databases
List of SQL functions used to access the external databases
HExecuteSQLQueryAsynchronous (Function)
Executes an SQL query asynchronously.
HSuggestKeyStart (Function)
Starts collecting information on executed queries.
HExecuteSQLQuery (Function)
Initializes a query written in SQL language and declares this query to the HFSQL engine.
Cross-database queries
An SQL query can operate on different databases...
HSuggestKey (Function)
Returns a list of keys to add to tables to improve query performance.
<Source>.ExecuteSQLQueryAsynchronous (Function)
Executes an SQL query asynchronously.
<Source>.ExecuteSQLQuery (Function)
Initializes a query written in SQL language and declares this query to the HFSQL engine.
Alias type
The Alias type is used to declare and handle a logical alias for a data file or query.
HModify (Function)
Modifies the specified record or the record found in memory in the data file (query or view).
<Source>.ListSpatialKeys (Function)
Returns the spatial keys of a table (used in a query or view) recognized by the HFSQL engine.
InitialFile (Property)
The InitialFile property is used to get the original name of the table associated to an item in a query.
<Source>ExportJSON String (Function)
Exports the records from a table (HFSQL or OLE DB), view, or query to a JSON string.
HRecordToString (Function)
Converts the content of the current record to string (in a table, HFSQL view, query, etc.).
FileToMemoryList (Function)
Populates a List Box or Combo Box control programmatically with the records from a table or query.
HExportJSONString (Function)
Exports the records from a table (HFSQL or OLE DB), view, or query to a JSON string.
HListSpatialKeys (Function)
Returns the spatial keys of a table (used in a query or view) recognized by the HFSQL engine.
<Source>.RecordToString (Function)
Converts the content of the current record to string (in a table, HFSQL view, query, etc.).
2. User-friendly editors in practice
User-friendly editors in practice...
Sort order of records found in a select query
To make the result of a query easier to read, the records can be sorted according to one or more items......
NULL values in HFSQL
WINDEV, WEBDEV and WINDEV Mobile allow you to manage the NULL value in the items of the HFSQL data files and for all the other types of accesses (Native, OLE DB, ......
Serialize (Function)
Transforms the following elements into a specific format: a structure (and its subelements), a class (and its subelements), an array (including the associative arrays), a queue, a stack, a list....
GglFillCalendarByRequest (Function)
Fills a calendar that was previously retrieved: the events corresponding to the calendar are retrieved via a custom query.
FilterCondition (Property)
The FilterCondition property gets the selection condition set by HFilter on a table, HFSQL view, or query.
<Source>.ExportCSV (Function)
Exports the records found in a table (HFSQL or OLE DB), a view or a query to a CSV file.