Writing Menu Startup Code
To write startup code for a menu:
- In the Object Navigator, select the desired menu module.
- Choose Tools | Property Palette.
- In the Property Palette, under the Functional
node, double-click the Startup Code property field.
- In the PL/SQL Editor, enter the/SQL code you want Oracle Forms to execute
on menu startup.
- Click Compile, then click Close.
Note: Startup code can include anonymous blocks
and calls to Built-in subprograms. However, like restriction on writing PL/SQL
code for menu item commands, you cannot directly reference the values of form
objects in startup code.