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
Updates on the server all the links of an HFSQL Client/Server data file.
Remark: All data files related to the links must have been configured with HChangeDir, if necessary.
Example
// Updates the links of the Customer data file
HUpdateLink(Customer)
Syntax
<Result> = HUpdateLink(<Data file> [, <Option>])
<Result>: Boolean
  • True if the update was performed,
  • False if an error occurred.
<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.

Remark: The 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: wd290hf.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 01/11/2023

Send a report | Local help