ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Managing databases / HFSQL / HFSQL Client/Server functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
<Connection variable>.UpdateQuery (Function)
In french: <Variable Connexion>.MiseAJourRequête
HFSQL Client/ServerAvailable only with this kind of connection
Warning
From version 27, Connection variable.RefreshQuery is kept for backward compatibility. This function has been replaced with <Connection variable>.UpdateQuery.
Creates or updates a query on an HFSQL server. Then, the query (.WDR file) can be used in a stored procedure on the server.
Example
// Describe the connection
MyConnection is Connection
 
// Update or create the query
MyConnection.UpdateQuery(Query1)
 
// Update the query even if there is a more recent version of the query on the server
MyConnection.UpdateQuery(Query1, True)
Syntax
<Result> = <Connection>.UpdateQuery(<Query> [, <Force>])
<Result>: Boolean
  • True if the query was created or updated,
  • False otherwise. HError is used to identify the error.
<Connection>: Connection variable
Name of the Connection variable that describes the connection to the server on which the query must be created or updated.
<Query>: Character string
Name of the query to be created or updated on the server.
If this parameter corresponds to "*", all the queries will be updated or created on the server.
<Force>: Optional boolean
  • False (default value): the query will be created or updated:
    • if the query is not found on the server.
    • if an earlier version of the query is found on the server.
  • True: the query will be created in any case.
Component: wd290hf.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/07/2023

Send a report | Local help