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
<Connection variable>.InfoTask (Function)
In french: <Variable Connexion>.InfoTâche
HFSQL Client/ServerAvailable only with this kind of connection
Returns the characteristics of a scheduled task in a hScheduledTask variable. You can for example read some characteristics of scheduled task in order to modify them later with <Connection variable>.ModifyTask.
Example
// Describe the connection
MyConnection is Connection
 
MyTask is hScheduledTask
// Retrieve characteristics of scheduled task
MyTask = MyConnection.InfoTask(TaskID)
// Modify the scheduled task
MyTask.Hour = EDT_Time.Hour + 1
MyConnection.ModifyTask(TaskID, MyTask)
Syntax
<Result> = <Connection>.InfoTask(<Scheduled task>)
<Result>: hScheduledTask variable
hScheduledTask variable containing the characteristics of the specified scheduled task.
<Connection>: Connection variable
Name of the Connection variable that describes the connection for which a task must be managed.
<Scheduled task>: Integer
Identifier of scheduled task, returned by <Connection variable>.AddTask and <Connection variable>.ListTask.
Remarks
  • To check the existence of a task, use <Connection variable>.ListTask: simply check if the task identifier is among the tasks returned by <Connection variable>.ListTask.
  • To retrieve the characteristics of a scheduled task, you must have the rights to connect (hRightsConnection or hRightsEncryptedConnection) to the database that contains the stored procedure.
Component: wd290hf.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 07/06/2023

Send a report | Local help