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.
SQLExec (Example)
Usage example of the SQLExec function
HExecuteView (Function)
Runs a view that was created beforehand (can be used to refresh the view data for example). This function uses the former view mechanism.
TotalNbRec (Property)
The TotalNbRec property is used to: Get the number of records to be printed. Change the number of records to be printed....
FOR EACH/FOR ALL statement (loop through files)
The FOR EACH statement is used to run different types of HFSQL loops...
ListCount (Function)
Returns the number of elements in a List Box, ListView or Combo Box control.
EventChange (Function)
Modifies the status of an event.
HMergeView (Function)
Creates an HFSQL view from two previously created views (HCreateView). This function uses the former view mechanism.
TableRecNum (Function)
Returns the number of the current record in a Table control based on a data file.
HConnect (Example)
Usage example of the HConnect function
The Organizer control
The Organizer control is used to display and handle organizers......
Database schema editor: the different types of sections
The different types of items proposed in the data model editor are as follows:
Editable reports
The report editor can be used to create form reports, which include different controls allowing users to enter data......
Server (Property)
The Server property is used to manage the data source of a connection (HFSQL Client/Server, OLE DB, etc.)....
Constants for managing Scheduler and TimeLine controls
The following constants are used to manage Scheduler and TimeLine controls:...
Passing parameters
The parameters can be passed to a procedure......
iInitReportQuery (Example)
Usage example of the iInitReportQuery function
Clickable control in a report
The report editor allows you to propose clickable controls during the print preview......