Re: Forms 5.0: Parameters for RUN_PRODUCT

From: Marc A. Tolson <marct_at_mail.rdc.noaa.gov>
Date: Wed, 09 Sep 1998 09:11:14 -0400
Message-ID: <35F67E72.8B490D9E_at_mail.rdc.noaa.gov>


[Quoted] NULL is not a valid option for the parameter list argument. You must create a blank parameter list. Below is an example:

Declare

pl ParamList;

Begin

        run_product(REPORTS, 'my_report', SYNCHRONOUS, RUNTIME, FILESYSTEM, pl, NULL); End;

This is a bug in the version of Oracle Forms 5.0.6.8.0

Hope this helps,

Marc Tolson
Programmer Analyst
Department of Commerce, NOAA
Marc.A.Tolson_at_noaa.gov

Todd Owers wrote:
>
> I am bringing into Forms 5.0.6.8.0 a form that was originally developed in
> Forms 4.5.7.1.6. I have a When-Button-Pressed trigger that calls a report
> using the RUN_PRODUCT built-in. Because this particular report does not use
> a parameter list, I set the appropriate parameter to NULL as follows:
>
> RUN_PRODUCT (REPORTS, 'my_report.rdf', SYNCHRONOUS, RUNTIME, FILESYSTEM,
> NULL);
>
> This code compiled successfully in Forms 4.5; however in 5.0 I get PL/SQL
> Error 307, 'Too many declarations of RUN_PRODUCT match this call.'
>
> What is going on here? Thanks in advance for the help.
>
> Todd Owers
> toddo_at_gcr1.com
Received on Wed Sep 09 1998 - 15:11:14 CEST

Original text of this message