In Oracle Forms, the parameter list is used to pass parameters between forms and reports. You can create parameter list using create_parameter_list command in Oracle Forms.
Create_Parameter_List Example
Declare p_id paramlist; BEGIN p_id := Get_Parameter_List('p_list'); IF NOT Id_Null(p_id) THEN Destroy_Parameter_List('p_list'); END IF; p_id := CREATE_PARAMETER_LIST ('p_list'); ADD_PARAMETER (p_id, 'P_EMPNO', text_parameter, EMP.empno); ADD_PARAMETER (p_id, 'P_SALARY', text_parameter, EMP.sal); OPEN_FORM ('emp_tran', activate, no_session, p_id); END;
The above example will call the emp_tran form by passing empno and sal column values from EMP block. Assuming that parameters P_EMPNO and P_SALARY exists in the emp_tran form.
Note: Parameters used in ADD_PARAMETER command should exist in the calling form or in the report.
See also:
Hii Sir,
I want to pass parameter to oracle form 11g through Url any help please?
e.g http://localhost:1000/forms/frmservlet?config=fabric&USER_ID=19
i want to pass user_id to oracle form parameter.