Home » Developer & Programmer » Forms » FRM-41213 (Oracle 10g, XP)
FRM-41213 [message #545981] Sun, 04 March 2012 05:22 Go to next message
lalapips
Messages: 1
Registered: March 2012
Junior Member
I'm having trouble with my forms builder. I can't connect to my reports server.

DECLARE
REP_ID REPORT_OBJECT;
REP_J_ID VARCHAR2(25);
SERVER_LENGTH NUMBER;
REP_STATUS VARCHAR2(25);
REP_SERVER VARCHAR2(100):='repserver';

BEGIN
REP_ID :=FIND_REPORT_OBJECT('REPORT7');
REP_J_ID :=RUN_REPORT_OBJECT(REP_ID);
SERVER_LENGTH:=LENGTH(GET_REPORT_OBJECT_PROPERTY(REP_ID,REPORT_SERVER));
REP_STATUS:=REPORT_OBJECT_STATUS(REP_J_ID);

WHILE 
V_REP_STATUS IN('RUNNING','OPENING_REPORT','ENQUEUED', null)

LOOP
MESSAGE('RUNNING REPORT');
REP_STAT:=REPORT_OBJECT_STATUS(REP_J_ID);
END LOOP;

WEB.SHOW_DOCUMENT('/reports/rwservlet/getjobid'||
SUBSTR(REP_J_ID,SERVER_LENGTH+2)||'?SERVER='||REP_SERVER, '_blank');
END;
Re: FRM-41213 [message #555389 is a reply to message #545981] Wed, 23 May 2012 12:59 Go to previous message
nnigam
Messages: 12
Registered: May 2012
Location: Washington, DC
Junior Member
Hello

First of all which version of Oracle Forms are you using? There is a difference in how 10g and 11g will handle the requests. The solution varies with the version of forms that you are using. I would also add the report server using set_report_object_property.

It would be easiest if you were to use the rp2rro.pll that Oracle provides. You can also verify your syntex with code from that library.


Neeraj Nigam
Pitss America
Pitss.com/us

Previous Topic: ora-00000 normal successful completion error while populating data from Master block to Detail block (merged 2)
Next Topic: How To Apply Group by Command in Forms 6i
Goto Forum:
  


Current Time: Fri Jul 05 21:37:59 CDT 2024