Creating a Library
To create a library:
- In the Object Navigator, create a library module.
- To create a library, choose File | New | PL/SQL Library.
Or
Select the Libraries node and then choose Edit |
Create.
Note: You cannot change the name of a library module by editing
it in the Object Navigator, as you can with forms and menus. Instead, the
library name is updated automatically when you save the library.
- To create a program unit, expand the desired library node, select the Program
Units node, and then choose Edit | Create.
The New Program Unit dialog appears.
- Specify the program unit Name and its Type
(either Procedure, Function,
Package Spec, or Package
Body). Choose OK.
The PL/SQL Editor appears.
- In the PL/SQL Editor, define your program unit and then choose Compile
to compile and apply your modifications.
- Choose Close to dismiss the editor.
Note: Because Oracle Forms cannot execute uncompiled program
units at runtime, you must compile your library program units at design time.
- Choose Program | Compile Module to compile
any uncompiled library program units, or choose Program
| Compile SQL | All to compile all library program units.
- Choose File | Save to save the library module
to a file or to the database.