Re: FIND_REPORT_OBJECT returns null

From: Ritu <ritub_at_teri.res.in>
Date: 12 May 2002 23:33:06 -0700
Message-ID: <60eed6a3.0205122233.d6b5338_at_posting.google.com>


Thanks. It worked. Actually I didn't add a report object in the object Navigator and was trying for the rdf file as the object. Thus it was not finding the report object. But after reading your reply I found out that this was the problem.

Thanks again
Ritu

markg_at_mymail.co.uk (Mark) wrote in message news:<ddb31653.0205090607.1e2a2a48_at_posting.google.com>...
> Because I havent got Reports6i on my machine, i cannot test it out.
>
> However, snippets from Metalink
>
> This message essentially means that the report cannot be found.
> Specifying the
> correct name of a report object found in the forms object navigator
> (not the
> actual name of the rdf file) usually resolves the problem.
>
> To do this double click on the 'Reports' node in the object navigator
> of your form and select the Report accordingly. You can double click
> on the Report object to see its property sheet where you can
> change/set different parameters.
>
> Also, check your report object name given in FIND_REPORT_OBJECT
> built-in. It should be the report object name as displayed in Object
> Navigator.
>
> M
>
>
> ritub_at_teri.res.in (Ritu) wrote in message news:<60eed6a3.0205090129.28a58adf_at_posting.google.com>...
> > Hi,
> >
> > I am a novice with Oracle Reports. I am using the function
> > FIND_REPORT_OBJECT in Reports6i to run a report from forms as follows:
> >
> > DECLARE
> > repid REPORT_OBJECT;
> > v_rep VARCHAR2(100);
> > rep_status varchar2(20);
> > BEGIN
> > repid := find_report_object('testreport');
> > v_rep := RUN_REPORT_OBJECT(repid);
> > END;
> >
> > But find_report_object returns null. I have tried putting Report in
> > the following directories:
> >
> > FORMS60
> > REPORTS60_PATH
> > Current directory of the form
> >
> > But nothing seems to help. Anybody knows any answer to it?
Received on Mon May 13 2002 - 08:33:06 CEST

Original text of this message