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.
MySource (Reserved word)
MySource is used to handle the current data source (file, view or query) associated with a report or with a table based on a data file...
HToFile (Function)
Copies a data source (file, query, view, ...) to a physical HFSQL table with the same description. This table is neither encrypted nor password protected.
<Source>.ListItem (Function)
Returns the list of items in a table (query or view) recognized by the HFSQL engine. The tables defined by HDeclare, HDeclareExternal and HDescribeFile are taken into account.
Binding a Repositionable Note control to an item
14. Distribute Reports and Queries with your applications
WINDEV Tutorial - Reports and Queries Distribute Reports and Queries with your applications - 10 min
Binding a ListView control to an item
Closes an email management session depending on the selected mode (SMTP/POP3, IMAP, MS Exchange or Lotus Notes)....
RecordSize (Property)
The RecordSize property is used to get the size (in bytes) of a record in: a file described in the data model editor, a file described through programming, an HFSQL view, a query....
Configuring Reports & Queries
Reports & Queries is used to......
Type (Property)
The Type property is used to get: the type of element (table or item) defined programmatically or in the data model editor, view or query. the type of object. the type of data held in a Variant....
<Array>.DeleteAll (Function)
Deletes all elements: from a one-dimensional or two-dimensional WLanguage array. from an associative array. from the advanced array property (array of gglCalendar events, ...). from a WLanguage queue. from a WLanguage stack. from a WLanguage list....
List Box control linked to a data file or to a query
A List Box or Combo Box control can be used to display the content of a data file or query, to allow a user to select a record, for example......
HListItem (Function)
Returns the list of items: found in a table (a query or a view) known to the HFSQL engine. The tables defined by HDeclare, HDeclareExternal and HDescribeFile are taken into account. found in a Record variable....
NbMemoItem (Property)
The NbMemoItem property is used to get the total number of memo items in a record of: a file described in the data model editor, a file described through programming, an HFSQL view, a query....
jQueryExecute (Function)
Runs a JavaScript method of the jQuery library on a page element.
ArrayDeleteAll (Function)
Deletes all elements: from a one-dimensional or two-dimensional WLanguage array. from an associative array. from an advanced array property (array of gglCalendar events, etc.). from a WLanguage queue. from a WLanguage stack. from a WLanguage list....
DeleteAll (Function)
Deletes all the elements: from a one-dimensional or two-dimensional WLanguage array. from an associative array. from an advanced array property (array of gglCalendar events, etc.). from a WLanguage queue. from a WLanguage stack. from a WLanguage list....