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.
HExecuteSQLQuery (Function)
Initializes a query written in SQL language and declares this query to the HFSQL engine.
<Source>.ExecuteSQLQuery (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.
HSuggestKeyStart (Function)
Starts collecting information on executed queries.
FileToMemoryTable (Function)
Populates a Table control programmatically with the records from a data file, HFSQL view or query (query created in the query editor or with HExecuteSQLQuery).
<Source>.ListQueryParameter (Function)
Returns the list of parameters for a query created in the query editor.
HListQueryParameter (Function)
Returns the list of parameters for a query created in the query editor.
Enqueue (Function)
Adds an element to the queue.
<Queue variable>.Enqueue (Function)
Adds an element to the queue.
<Queue variable>.Dequeue (Function)
Dequeues an element from a queue.
SQL functions: Special case
List of SQL functions: Special case...
HUpdateView (Function)
Creates or updates the description of an SQL view or materialized view from the database schema to an HFSQL server.
Dequeue (Function)
Removes an element from the queue.
SFExecuteQuery (Function)
Runs an SOQL query (Salesforce Object Query Language) on a Salesforce database.
<sfConnection variable>.ExecuteQuery (Function)
Runs an SOQL query (Salesforce Object Query Language) on a Salesforce database.
Select query description window: Items used
Configuring the connection with WDSQSINS
For compatibility with the earlier versions of the Native SQL Server Connector (also called Native SQL Server Access), the connection can still be configured in WDSQSINS (supplied with the Native SQL Server Connector)......
Select query description window: Use
Let's see some operations specific to the description window of a select query......
SFForwardQuery (Function)
Continues to run a SOQL query (Salesforce Object Query Language) on the records of a Salesforce database.