Running Oracle Reports in Forms [message #409127] |
Fri, 19 June 2009 09:13 |
Unprez
Messages: 9 Registered: February 2009
|
Junior Member |
|
|
Hi,
Recieving run-time connection errors, appreciate any help on what I might be missing. Thanks.
Declare
report_id Report_Object;
ReportServerJob VARCHAR2(100);
param_string VARCHAR2(2000);
BEGIN
--attached to form
report_id:=find_report_object('Report63');
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE,CACHE);
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER,'user.company.local');
ReportServerJob:=run_report_object(report_id);
|
|
|
|
Re: Running Oracle Reports in Forms [message #409675 is a reply to message #409508] |
Tue, 23 June 2009 07:55 |
Unprez
Messages: 9 Registered: February 2009
|
Junior Member |
|
|
Sorry about that, I will take note for future reference.
Versions :
Forms [32 Bit] Version 10.1.2.0.2 (Production)
Report Builder 10.1.2.0.2
Using web show command i have the following:
Declare
report_id Report_Object;
ReportServerJob VARCHAR2(100);
param_string VARCHAR2(2000);
t_name VARCHAR2(30);
URL VARCHAR2(2000);
BEGIN
URL:= 'http://app2006.cmic.company.com:7777/reports/rwservlet?server=app2006prod&report=Z:\cm1001_draft3.RDF&desformat=pdf&destype=cache&userid=xxxx/xxxxx@prod2006
¶mform=no';
WEB.SHOW_DOCUMENT(URL,'_BLANK');
END:
And I get the following message
REP-110: Unable to open file 'cm1001_draft3.RDF'.
REP-1070: Error while opening or saving a document.
REP-0110: Unable to open file 'cm1001_draft3.RDF'.
- I can run the forms and I can also run the report seperately from reports builder but cannot open it from forms.
Thanks for the help,
Asad
|
|
|
|
Re: Running Oracle Reports in Forms [message #409756 is a reply to message #409712] |
Tue, 23 June 2009 20:57 |
|
djmartin
Messages: 10181 Registered: March 2005 Location: Surges Bay TAS Australia
|
Senior Member Account Moderator |
|
|
'app2006.cmic.company.com:7777' is your PC - correct?
Does the URL run if you place it at the browser prompt?
Can you get ANY report to run?
'Z:' is in the 'forms_path' ins't it?
David
|
|
|