ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Managing databases / HFSQL / HFSQL Client/Server functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Updates on the server all the links of an HFSQL Client/Server data file.
Note: All data files related to the links must have been configured with HChangeDir, if necessary.
New in SaaS
Android This function is now available for Android applications.
Android Widget This function is now available in Android widget mode.
Note: This feature is only available from WINDEV Suite SaaS 2025 - Update 3.
For more details, see Using new features exclusive to WINDEV Suite SaaS 2025.
Example
// Updates the links of the Customer data file
HUpdateLink(Customer)
Syntax
<Result> = HUpdateLink(<Data file> [, <Option>])
<Result>: Boolean
  • True if the update was completed,
  • False if an error occurs.
<Data file>: Character string
Name of the data file used to know the list of the links taken into account. This parameter can also correspond to:
  • "*", to indicate that all data files must be taken into account,
  • a data file group name, defined in the analysis.
<Option>: Optional constant (or combination of constants)
Options for the automatic data modification:
hmsNoCheckThe automatic data modification is performed even if:
  • the description of the data file is more recent than the description of the analysis,
  • the GUID of the data file is different from the GUID of the analysis.
hmsNormal
(Default value)
Default operating mode of the automatic data modification.

Note: 9The data files used must not be open (by the application or by another application).
Remarks
  • The items used by the links must exist.
  • All the files of the analysis must be present if you use the "*" parameter
  • When links are updated, the links removed from the analysis are also removed from the HFSQL server.
  • You can use HModifyStructure before HUpdateLink.
Business / UI classification: Business Logic
Component: wd300hf.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/10/2025

Send a report | Local help