Home » Developer & Programmer » Forms » Calling reports9i from Forms9i-REP-0305 error
Calling reports9i from Forms9i-REP-0305 error [message #83951] Thu, 08 January 2004 20:37 Go to next message
Neela Thakkar
Messages: 2
Registered: January 2004
Junior Member
I get the following error when i call a report from a "when button pressed trigger" :
REP-0305 : u have not specifeied the report name.
I have already created a report from the" report" module of the object navigator in the form. My trigger contains the following commands :

declare
repid report_object;
repname varchar2(100);
begin
repname := 'report4'
repid := run_report_object(repname);
Re: Calling reports9i from Forms9i-REP-0305 error [message #83956 is a reply to message #83951] Fri, 09 January 2004 01:24 Go to previous messageGo to next message
Deepak
Messages: 111
Registered: December 1999
Senior Member
use this

RUN_PRODUCT(REPORTS,file_nm,SYNCHRONOUS,RUNTIME,FILESYSTEM,null);
Re: Calling reports9i from Forms9i-REP-0305 error [message #84133 is a reply to message #83956] Tue, 03 February 2004 21:31 Go to previous messageGo to next message
Thapelo
Messages: 4
Registered: February 2004
Junior Member
Are you sure this is working ? you cannot use RUN_PRODUCT in 9i.

Please re-visit your answer
Re: Calling reports9i from Forms9i-REP-0305 error [message #84294 is a reply to message #83951] Wed, 25 February 2004 19:33 Go to previous messageGo to next message
Kapil
Messages: 145
Registered: May 2002
Senior Member
Im assuming that you'r using Forms9i, if that's the case you need to specify the name of of your Report Server in your Report Object's property palette.

Hope it helps!
Re: Calling reports9i from Forms9i-REP-0305 error [message #84297 is a reply to message #84294] Wed, 25 February 2004 22:40 Go to previous messageGo to next message
veena
Messages: 11
Registered: October 2000
Junior Member
can u tell where i can get the name of the report server from???
Re: Calling reports9i from Forms9i-REP-0305 error [message #84300 is a reply to message #84297] Thu, 26 February 2004 18:51 Go to previous message
Kapil
Messages: 145
Registered: May 2002
Senior Member
"can u tell where i can get the name of the report server from???"

U can run the following command on DOS prompt to create your own Reort Server--

rwserver -install <server_name> [[batch=yes/no]] [[autostart=yes/no]]

Here server_name will be your server name.

Or, if you'r using an application server that already has a Report Server installed you can get it's name from list of Services running on your AS.
Previous Topic: Few Queries
Next Topic: FRM-90928
Goto Forum:
  


Current Time: Thu Apr 25 06:54:02 CDT 2024