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
HWatchStop (Function)
In french: HSurveilleStop
HFSQL Client/ServerAvailable only with this kind of connection
Warning
From version 2024, HTrackStop is kept for backward compatibility. This function has been replaced with HWatchStop.
Stops watching a data file on an HFSQL server. This watch task was started with HWatch.
Example
// Starts watching the Order data file
// The ProcessOrder procedure is called whenever a record is added to the data file
HWatch(Order, ProcessOrder, hRecNumAll, hsAdd)
...
// Stops watching the Order data file
HWatchStop(Order, ProcessOrder, hRecNumAll)
Syntax
<Result> = HWatchStop(<Data file> , <WLanguage procedure> [, <Record number>])
<Result>: Boolean
  • True if the watch task was stopped,
  • False otherwise (watch task not found, for example). To get more details on the error, use ErrorInfo.
<Data file>: Optional character string
Name of HFSQL data file to use. The data file is associated with a connection and with a server.
If this parameter is an empty string (""), HWatchStop manipulates the last data file used by the last HFSQL function (function starting with "H").
<WLanguage procedure>: Procedure name
Name of the WLanguage procedure that should no longer be called to watch the data file.
<Record number>: Optional integer
Number of the record that will no longer be watched.
If this parameter is not specified or corresponds to the hRecNumAll constant, HWatchStop will stop watching all the data file records (i.e. the entire data file).
Remarks
HWatch and HWatchStop can be used in a Windows service.
Business / UI classification: Business Logic
Component: wd290hf.dll
Minimum version required
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/29/2024

Send a report | Local help