PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
HRefreshQuery (Function)
In French: HMiseAJourRequête
HFSQL Client/ServerAvailable only with this kind of connection
Creates or refreshes a query on a HFSQL server. Then, the query (.WDR file) can be used in a stored procedure on the server.
Note: From version 19, HFSQL is the new name of HyperFileSQL.
Versions 22 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the Android applications.
WINDEVJava This function is now available for the Java applications.
New in version 22
iPhone/iPad This function is now available for the iPhone/iPad applications.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the Android applications.
WINDEVJava This function is now available for the Java applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the Android applications.
WINDEVJava This function is now available for the Java applications.
Example
// Refresh or create the query
HRefreshQuery(MyConnection, Query1)

// Refresh the query even if a more recent version of the query is found on the server
HRefreshQuery(MyConnection, Query1, True)
Syntax
<Result> = HRefreshQuery(<Connection Name> , <Query Name> [, <Force>])
<Result>: Boolean
  • True if the query was created or refreshed,
  • False otherwise. HError is used to identify the error.
<Connection Name>: Character string (with or without quotes)
Name of the connection to the server on which the query must be created or refreshed.
<Query Name>: Character string (with or without quotes)
Name of the query to create or refresh on the server.
If this parameter corresponds to "*", all the queries will be refreshed or created on the server.
Versions 16 and later
The quotes are no longer mandatory for this parameter.
New in version 16
The quotes are no longer mandatory for this parameter.
The quotes are no longer mandatory for this parameter.
<Force>: Optional boolean
  • False (default value): the query will be created or refreshed:
    • 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.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230hf.dll
Windows Mobile wp230hf.dll
Java wd230java.jar
Linux wd230hf.so
Android wd230android.jar
Minimum required version
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment