You are on page 1of 2

Steps to Deploy and Compile:

1. First check whether you have set environment for FORMS_PATH by typing: export FORMS_PATH 2. If FORMS_PATH is set please note the forms and library path and move to step number 3 and if the path is not set then you have to set FORMS_PATH by mentioning those directories where forms, libraries and menus are placed on the server side by using following syntax: FORMS_PATH=$ORACLE_HOME/forms;/apps/forms;/apps/lib;/apps/menu;/a pps/pll;/apps/template 3. Copy Employee_Form.fmb to the forms folder mention on the FORMS_PATH location or on that location where .fmb file exists 4. Copy CALENDAR.olb to the lib folder mention on the FORMS_PATH location or on that location where .olb file exists. 5. 6. Compile form. For reference syntax: frmcmp Module=Employee_Form.fmb Userid=USER/PASS@SID Compile_All=Yes Build=Yes Batch=Yes Module_Type=FORM

Mandatory Parameters UserID=<userid/password@database> Module=<module name>

Obviously, the user id, password and database to compile the module against The file name of the module to compile (don't include the file extenstion)

Optional Parameters (default values listed) Module_Type=FORM Logon=YES The three module types are: FORM, MENU and LIBRARY Log into a database (YES or no). No all compilation actions require a database connection. For example, producing an Object List Report Don't display messages on the screen Write output of the compilation to a file. <file> should be the complete path and file name Write a script file Parse script file Upgrade the module to the current Forms version Version to upgrade (23, 30, 40, 45 or menu 50) CRT file for version 2.x form upgrade Build a runform/runmenu file when upgrading Add Key-Up/Down triggers during upgrade Add NOFAIL keyword to trigger steps Build/Run with debug information

Batch=NO Output_File=<file> Script=NO Parse=NO Upgrade=NO Version=45 Crt_File=<crt file> Build=YES Add_Triggers=NO Nofail=NO Debug=NO

Compile_All=NO Strip_Source=NO Window_State=Normal Help=NO Options_Screen=NO Widen_Fields=NO Print_Version=NO Forms_Doc=NO

Compile all PL/SQL code Strip PL/SQL source code from library Root window state (Normal, Maximize, Minimize) Show command line help information Display Options window (on bitmap only) Add one character to display width Print version used to save module Print Forms Doc report

You might also like