Passing the Parameter List to the Called Form:
After creating a parameter list and populating its parameters with appropriate values, the forms in which the parameters are to be passed have to be opened. A form can be opened by using OPEN_FORM ( ) / CALL_FORM ( ) procedures. Name of the form have to be passed as an argument to any of these procedures as in
OPEN_FORM ('order.fmx');
The parameter list is to be passed as the last argument to the OPEN_FORM ( ) or the CALL_FORM ( ) procedure. Name of the form is the only mandatory argument to any of these procedures. To ensure that the last position is maintained and all other parameters, generally optional to the OPEN_FORM( ) or the CALL_FORM ( ) procedure become mandatory. A value for these arguments is pre-defined through Oracle Forms and thus null values are not permitted. The complete syntax for opening the form and passing parameter list is:
CALL_FORM ('form name', display, query mode, switch menu, parameter list); the arguments specified in the CALL_FORM ( ) procedure are as follows: Display:
This argument can be set to HIDE or NO_HIDE. The calling form will be made invisible before calling the called form if this argument is set to HIDE. The called form will be opened without hiding the calling form if this argument is set to NO_HIDE.