Forces the object to fire its main event.
Scheduler Object Syntax
object.DemandFire bstrObjectName
Properties
The DemandFire method syntax has these parts:
Part |
Description |
object |
An object expression that evaluates to an object in the Applies To list. |
bstrObjectName |
String. The name of the object in the schedule for which you want to fire an event. |
Timer and Event Object Syntax
object.DemandFire
Properties
The DemandFire method syntax has this part:
Part |
Description |
object |
An object expression that evaluates to an object in the Applies To list. |
Remarks
For the Scheduler object, DemandFire triggers the event associated with the name of the object in the Scheduler. For the Timer object, DemandFire fires the OnTimeOut event. For the Event object, the event that the user has configured in the user interface fires. This can be OnTrue, OnFalse, WhileTrue, WhileFalse, or DataChange.
You can use this method to force the action to trigger, which is useful for debugging or for complex scheduling strategies.