The Script Editor, provides several
ways to view scripting events for objects in your form, depending
on the type of object or objects you select, and the quantity of
events you want to display.
Before you
begin, you must perform the following actions:
If the Script Editor is not displayed on the screen, select
Window > Script Editor.
If the Script Editor is not large enough to display more
than one line of script at a time, drag its lower line down to increase
its size.
To view a scripting event for a single object in the Script EditorSelect an object in your form.
In the Show list, select a valid scripting event.
To view a scripting event for a container object and its children in the Script EditorIf it is not already in multiline
mode, expand the Script Editor to display multiple lines of script
and ensure that the Show Events for Child Objects option is selected.
Select a container object, such as a subform.
In the Show list, select a valid scripting event.
The
events appear in the script editing field of the Script Editor,
separated by the reference syntax for each event. Note that certain
events only apply to specific types of objects. When you select
a script event, the script editing field of the Script Editor only
displays valid instances of the event. For example, if you select
a subform that contains a drop-down list and select the preOpen event,
the Script editor displays a single entry representing the drop-down
list. This is because the preOpen event only applies
to drop-down lists. Alternatively, selecting the enter event
displays two entries, one for the drop-down list and one for the
subform.
Note: The Show list denotes events that
contain scripts using a trailing asterisk (*) after the name of
the event. If an event contains a script, when you select the event from
the Show list, the source appears in the script editing field of
the Script Editor.
To view all scripting events for a single object in the Script EditorSelect an object in your form.
In the Show list, select All Events.
The events appear
in the script editing field of the Script Editor, separated by the
reference syntax for each event.
To view all scripting events for a container object and its children in the Script EditorIf it is not already in multiline
mode, expand the Script Editor to display multiple lines of script
and ensure the Show Events for Child Objects option is selected.
Select a container object, such as a subform.
In the Show list, select All Events.
The events appear
in the script editing field of the Script Editor, separated by the
reference syntax for each event.
To view all scripts for a single object in the Script EditorSelect an object that has scripts attached.
In the Show list, select Events With Scripts.
The scripts
appear in the script editing field of the Script Editor, separated
by the reference syntax for each event.
To view all scripts for a container object and its children in the Script EditorIf it is not already in multiline
mode, expand the Script Editor to display multiple lines of script
and ensure that the Show Events for Child Objects option is selected.
Select a container object, such as a subform. All events
for the container object and any child objects appear in the Script
Editor.
In the Show list, select All Events.
The scripts appear
in the script editing field of the Script Editor, separated by the
reference syntax for each event.
|
|
|