Xref: alice comp.databases.oracle.tools:16256
Path: alice!news-feed.fnsi.net!news.idt.net!newshub.northeast.verio.net!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!nyd.news.ans.net!newsfeeds.ans.net!abq.news.ans.net!news-w.ans.net!rdc.noaa.gov!not-for-mail
From: "Marc A. Tolson" <marct@mail.rdc.noaa.gov>
Newsgroups: comp.databases.oracle.tools
Subject: Re: Forms 5.0: Parameters for RUN_PRODUCT
Date: Wed, 09 Sep 1998 09:11:14 -0400
Organization: DOC/NOAA
Lines: 41
Message-ID: <35F67E72.8B490D9E@mail.rdc.noaa.gov>
References: <6t48ip$k6v$1@nntp.gulfsouth.verio.net>
Reply-To: Marc.A.Tolson@noaa.gov
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.04 [en] (Win95; U)

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@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@gcr1.com
