Sets or returns the value of the On Timer box in the Properties window of a form. Read/write String.
expression.OnTimer
expression Required. An expression that returns one of the objects in the Applies To list.
The Timer event occurs for a form at regular intervals as specified by the form's TimerInterval property.
The OnTimer value will be one of the following, depending on the selection chosen in the Choose Builder window (accessed by clicking the Build button next to the On Timer box in the form's Properties window):
If the On Timer box is blank, the property value is an empty string.
The following example prints the value of the OnTimer property in the Immediate window for the "Order Entry" form.
Debug.Print Forms("Order Entry").OnTimer