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
<Source>.WatchStop (Function)
In french: <Source>.SurveilleStop
HFSQL Client/ServerAvailable only with this kind of connection
Warning
From version 2024, Source.TackStop is kept for backward compatibility. This function has been replaced with <Source>.WatchStop.
Stops watching a data file on an HFSQL server. This watch task was started with <Source>.Watch.
Example
// Starts watching the Order data file
// The ProcessOrder procedure is called whenever a record is added to the data file
Order.Watch(ProcessOrder, hRecNumAll, hsAdd)
...
// Stops watching the Order data file
Order.WatchStop(ProcessOrder, hRecNumAll)
Syntax
<Result> = <Source>.WatchStop(<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.
<Source>: Type corresponding to the specified source
Name of HFSQL data file to use.
<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, <Source>.WatchStop will stop watching all the data file records (i.e. the entire data file).
Remarks
<Source>.Watch and <Source>.WatchStop can be used in a Windows service.
Component: wd290hf.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/29/2024

Send a report | Local help