Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Run_Report_Object ERROR

528063Apr 2 2007 — edited Apr 4 2007
hiiii
am using DEV&DB(10.1.2.0.2) both local machine ... on win xp sp2 ...
i have created a Form with One Button to call a report(simple report no parameters ) ...
1)i have added the Report object in the forms navigation bar
2)with the following properties
* Name = MYREPORT1
* FileName = C:\TEST_10g_CALL_REPORT\EMP_LIST.rdf
*Execution mode = batch
*Comm mode = synchronouse
*Report Destination= Cache
*Report Destination Format = HTMLCSS
*Report Server = rep_omd1
3) i have started the report server with this in the Run(rwserver server =rep_omd1)
and i got the Java window telling that Report Server is Ready
4)The following WHEN_BUTTON_PRESSED trigger is used and cause this Error:
FRM-41213 : Unable To Connect To Report Server rep_omd1


**************************************************************************************
declare
report_id Report_Object;
ReportServerJob VARCHAR2(100);
BEGIN
report_id:= find_report_object('MyReport1');
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,'rep_omd1');
(report_id,REPORT_OTHER,'p_deptno='||:Dept.Deptno||' paramform=no');
ReportServerJob:=run_report_object(report_id);
END;
****************************************************************************************
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 2 2007
Added on Apr 2 2007
14 comments
1,087 views