In Oracle Forms, Open_form built-in is used to open a form from another form.
Open_Form Examples
1. Open a form without parameter in Oracle Forms
In this example, it will call the form emp without passing any parameter to it.
open_form('emp', activate, no_session);
Output

2. Open a form with the parameter in Oracle Forms
In this example, it will call the emp form with the parameter to display the current date on the form.
Declare v_parm paramlist; BEGIN v_parm := Get_Parameter_List('empparam'); IF NOT Id_Null(v_parm) THEN Destroy_Parameter_List('empparam'); END IF; v_parm := CREATE_PARAMETER_LIST ('empparam'); ADD_PARAMETER (v_parm, 'P_DATE', text_parameter, to_char(sysdate, 'dd/mm/yyyy')); OPEN_FORM ('emp', activate, no_session, v_parm); END;
Output
See also:
- Create Tree Menu in Oracle Forms
- Free Oracle Forms Application Download
- Oracle Form Stacked Canvas Example
- PL/SQL Topics
- SQL Topics
Obrigado por compartilhar conhecimento com a comunidade de desenvolvedores.
Justo lo que necesitaba, muchas gracias!