PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

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
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 HModifyTask.
Note: 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
MyTask is hScheduledTask
// Retrieve the characteristics of the task
MyTask = HInfoTask(MyConnection, TaskID)
// Modify the task
MyTask..Hour = EDT_Time..Hour + 1
HModifyTask(MyConnection, TaskID, MyTask)
Syntax
<Result> = HInfoTask(<Connection name> , <Identifier of scheduled task>)
<Result>: hScheduledTask variable
hScheduledTask variable. The different variable properties are automatically assigned with the characteristics of specified scheduled task.
<Connection name>: Character string (with or without quotes)
Name of connection for which a task will be added. This connection was defined in the data model editor, or by HDescribeConnection or HOpenConnection.
<Identifier of scheduled task>: Integer
Identifier of scheduled task, returned by HAddTask and HListTask.
Remarks
  • To check the existence of a task, use HListTask: all you have to do is check whether the identifier of task to check is found among the tasks returned by HListTask.
  • 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 containing 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 containing the stored procedure.
    To retrieve the characteristics of a scheduled task, you must have the rights to connect (hRightsConnection or hRightsEncryptedConnection) to the database containing the stored procedure.
Component : wd240hf.dll
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment