Re: could not call report from form

From: Nick <aroughguy_at_nsp.toughguy.net>
Date: Tue, 17 Sep 2002 01:17:44 +1000
Message-ID: <rCmh9.5429$Sr6.195807_at_ozemail.com.au>


[Quoted] I helped myself the second question!

You can not pass the param list as NULL, you have to pass as an empty string ''

[Quoted] But I still couldn't figure out why run_report_object failed

Nick

"Nick" <aroughguy_at_nsp.toughguy.net> wrote in message news:uQah9.5085$Sr6.185794_at_ozemail.com.au...
> Sorry, I didn't get you clearly. Do you mean all the called reports must
be
> located in a certain path which has been registered in Windows registry?
If
> so what is it and how should I do that?
>
> Anyway, I find it strange as Oracle online Help doesnot mention anything
> close to this for the 2 built-ins find_report_object and run_product.
>
> Nick
>
>
>
> "Antonio Ternero Pacheco" <ortseam_at_wanadoo.es> wrote in message
> news:am1pu9$dn6$2_at_reader2.wnet...
> > Hi, My question is: this the report in the path of the registry in the
key
> > REPORT60_PATH?
> >
> > "Nick" <aroughguy_at_nsp.toughguy.net> escribió en el mensaje
> > news:EZEg9.4652$Sr6.167723_at_ozemail.com.au...
> > > Hi
> > >
> > > Pls help explain why these don't work when I try to call a report from
a
> > > form.
> > > I'm using 6i on XP Pro
> > >
> > >
> > > 1. This compiles fine, but give runtime error: FRM-41219: Cannot find
> > report
> > > invalid ID
> > > But the reportname.rdf, of course, exists in the declared project
global
> > > path which also contain the calling form
> > >
> > > DECLARE
> > > rept REPORT_OBJECT;
> > > v_rep VARCHAR2(100);
> > >
> > > BEGIN
> > > rept := find_report_object('reportname');
> > > v_rep := RUN_REPORT_OBJECT(rept);
> > >
> > > END;
> > >
> > >
> > > 2. This caused error when compile: too many declarations of
> 'RUN_PRODUCT'
> > > match this call
> > >
> > >
> >
>

Run_product(REPORTS,'reportname',SYNCHRONOUS,RUNTIME,FILESYSTEM,NULL,NULL);
> > >
> > >
> > > Thanks
> > > Nick
> > >
> > >
> >
> >
>
>
Received on Mon Sep 16 2002 - 17:17:44 CEST

Original text of this message