Workbench User Guide : Writing Scripts and Procedures : Script Types
 
Share this page          
Script Types
The types of scripts you may use include the following:
Frame Scripts
Define the local variables for the frame and procedures for any of the frame events
Field Scripts and Menu Scripts
In addition to frame events, these include code for field and menu item events in the frame script. This method centralizes all the code for the frame in one script.
Alternatively, you can write separate scripts for individual fields and menu items. With this method, the script is always associated with the specific field or menu item, even when you copy or move it to another frame.