A script-enabled browser is required for this page to function properly.

Creating a Library

To create a library:

  1. In the Object Navigator, create a library module.
  2. 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.

  3. 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.
  4. Specify the program unit Name and its Type (either Procedure, Function, Package Spec, or Package Body). Choose OK.
    The PL/SQL Editor appears.
  5. In the PL/SQL Editor, define your program unit and then choose Compile to compile and apply your modifications.
  6. 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.

  7. Choose Program | Compile Module to compile any uncompiled library program units, or choose Program | Compile SQL | All to compile all library program units.
  8. Choose File | Save to save the library module to a file or to the database.