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

Passing a Parameter List

A parameter List is passed from one form to another as the last argument to the OPEN_FORM, CALL_FORM, or NEW_FORM Built-in procedures:

Passing a parameter List Examples

/* In this example, a parameter List named form_a_parms is

** created and its object ID is assigned to a variable named
** p_List. A text parameter named p1 then is added to the
** List with ADD_PARAMETER, and its value is set to "BICYCLE."
** Finally, the parameter List is passed to Form B as the last
** argument to the OPEN_FORM procedure. For this example to
** work, a form parameter named p1 must have been declared in
** Form B at design time, and its datatype and length must be
** compatible with the value being passed.
*/
DECLARE
p_List PARAMLIST;
BEGIN
p_List := CREATE_PARAMETER_LIST('form_a_parms');
ADD_PARAMETER(p_List, 'p1', text_parameter, 'BICYCLE');
OPEN_FORM('form_b', activate, no_session, p_List);
END;


ADD_PARAMETER Built-in

CREATE_PARAMETER_LIST Built-in

Creating and Passing Parameter Lists