PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

New WINDEV, WEBDEV, WINDEV Mobile 25 feature!
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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. Remark: From version 19, HFSQL is the new name of HyperFileSQL.
Versions 22 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 22
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
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.
  • Versions 23 and later
    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.
    New in version 23
    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.
    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 : wd250hf.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment