Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Difficulty in passing parameter in Forms 4.5

Re: Difficulty in passing parameter in Forms 4.5

From: wraithe <wraithe_at_the-link.net>
Date: 1997/10/08
Message-ID: <343C3D81.2EEE344E@the-link.net>#1/1

FORM2 has a set of user defined parameters(created in the object navigator) all parameters that you pass to FORM2 must use those names. Once you have done this you can reference the parameter just like any block variable.

Charles

Jimmy wrote:

> I have difficulty in passing parameter list between two forms.
>
> Assume forms FORM1 has a button with the following codes:
>
> declare
> para_id paramlist;
> begin
> para_id := get_parameter_list('para_name');
> if not id_null(para_id) then
> desttoy_parameter_list(para_id);
> end if;
> para_id := create_parameter_list('para_name);
> add_parameter(para_id,'p1',text_parameter,'testing');
>
> call_form('FORM2',no_hide,no_replace,no_query_only,para_id);
> end;
>
> But in FORM2, when-new-form-instance trigger, I don't know how
> to code
> and show the p1's value in para_id. (it should show 'testing') I know
> that it needs to define the parameter list again in FORM2. But I have
> tried many times in different ways and still get the error message "p1
>
> not defined in FORM2". Could anyone help me to solve this problem?
> (press button in FORM1 and open FORM2 to show p1)
>
> Thank in advance,
> Jimmy
Received on Wed Oct 08 1997 - 00:00:00 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US