OnStepStart |
Syntax:
OnStepStart(FunctionName, StepNumber)
Description:
This event occurs each time a task step is about to execute.
NOTE: Line numbers are 0 based within the Task Interpreter (i.e. step 1 inside the Task Builder is step 0 when using this object). |
Parameters:
Parameter |
Description |
FunctionName |
The name of the executed function. |
StepNumber |
The step number that is about to execute. Since line numbers are 0 based, using this object in step 2 of a task (as they appear in the Task Builder's Steps panel) will return step 1 as the step number that's about to execute. |
Example:
Sub
Main
MsgBox OnStepStart()
End Sub
See Also:
Main | OnStepEnd | OnStepError | OnStepStart | OnTaskEnd | OnTaskFailure | OnTaskStart |