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

Attaching a Library to a Module

To attach a library to a module:

  1. In the Object Navigator, open the desired form, menu, or library module.
  2. To open a module, choose File | Open and then specify the module type to open.

    Note: When you attach a library to a module in Oracle Forms, you attach the .PLL version of the library. At runtime, Oracle Forms looks for a .PLX file by that name in the default search paths. If no .PLX file is present, Oracle Forms uses the .PLL file by that name.
  3. Expand the module and then select the Attached Libraries node. Choose Edit | Create to attach a library.
  4. Specify the name of the library to attach.

    Tip: You should not specify a library path when attaching libraries. Path names for library attachments are stored internally and, as a result, are not portable. Instead, you should specify the name of the library and rely on the Oracle Forms' standard search path to locate your library at runtime.

    When searching for attached libraries at runtime, Oracle Forms first searches the current directory and then the directories Listed in the PATH (FORMS_PATH and ORACLE_PATH) environment variables.

    Note: If you specify a library path, Oracle Forms prompts you to confirm the specified path.

    If you confirm, at runtime, Oracle Forms will search for your library based strictly on the specified path; Oracle Forms will not search the specified path and then perform the standard search, as well.

    If you do not confirm, Oracle Forms removes the path and saves the library name. At runtime, Oracle Forms searches the standard search path to locate your library.
  5. Save the active form or menu module to incorporate the library attachment in the module definition.

    Note: Attached libraries are read-only. You cannot edit an attached library; you can only reference the program units within it. To edit a library module, open it in the Object Navigator and use the PL/SQL Editor to edit program units.