PDA

View Full Version : problem in run_report_object (error : frm-40738)


ssudhavani
09-05-2003, 02:31 PM
Hi,



I have seen your posting in dbforums regarding error FRM-40738.I am also
having the same problem.Could you please tell me if you found the
solution and if so what is to be done in order to eliminate this error.



Thanks

Sudha



------------------------------------------------------------------------
--------------

Originally posted by Kuljeet
thanks a lot for your help
now i use this example to solve our problem
but problem is same

DECLARE
repid REPORT_OBJECT;
v_rep VARCHAR2(100);
rep_status varchar2(20);
BEGIN
repid := find_report_object('report4'); ===> where we define report
v_rep := RUN_REPORT_OBJECT(repid);
rep_status := REPORT_OBJECT_STATUS(v_rep);

if rep_status = 'FINISHED' then
message('Report Completed');
else
message('Error when running report.');
end if;
END;

same error occur
*****************************************
FRM-40738 ARGUMENT 1 TO BUILTIN REPORT_OBJECT_STATUS CAN NOT BE NULL
*****************************************
we are using developer 6 on web
i think there is some bug on developer.

plz help me.


--
Posted via http://dbforums.com

Ana C. Dent
09-05-2003, 05:29 PM
ssudhavani wrote:
Hi, I have seen your posting in dbforums regarding error FRM-40738.I am also having the same problem.Could you please tell me if you found the solution and if so what is to be done in order to eliminate this error. Thanks Sudha ------------------------------------------------------------------------ -------------- Originally posted by Kuljeetthanks a lot for your helpnow i use this example to solve our problembut problem is sameDECLARE repid REPORT_OBJECT; v_rep VARCHAR2(100); rep_status varchar2(20);BEGIN repid := find_report_object('report4'); ===> where we define report v_rep := RUN_REPORT_OBJECT(repid); rep_status := REPORT_OBJECT_STATUS(v_rep); if rep_status = 'FINISHED' then message('Report Completed'); else message('Error when running report.'); end if;END;same error occur*****************************************FRM-40738 ARGUMENT 1 TO BUILTIN REPORT_OBJECT_STATUS CAN NOT BE NULL*****************************************we are using developer 6 on webi think there is some bug on developer. plz help me. -- Posted via http://dbforums.com


I might not know what I'm talking about,
but I suspect that I know what is the problem.

Your form is running inside the Forms Server.
You want to have your form invoke/generate a report.
The Forms Server can't do magic & can't read a crystal ball.
Rhetorical question - How does the Forms Server "know" the
name of the Reports Server upon which the the report will
actually be run?

AKAIK,
server=<report_server_name>
is a required parameter.

Also don't forget minor details such as
userid=<username/password@dbname>
just in case the report needs to get data out of some database.

On OTN Oracle has a nice white paper which goes in to MUCH
detail explaining how to actually generate Reports fron 9iAS.


MyLounge.com Site Map
Forum: Cars, Cell Phone, Database, Games, Home Improvement, IT, Music, School, Sports, Web Design, Web Server, Weight Loss

The MyLounge.com forum is intended for informational use only and should not be relied upon and is not a substitute for any advice. The information contained on MyLounge.com are opinions and suggestions of members and is not a representation of the opinions of MyLounge.com. MyLounge.com does not warrant or vouch for the accuracy, completeness or usefulness of any postings or the qualifications of any person responding. Please consult a expert or seek the services of an attorney in your area for more accuracy on your specific situation. Please note that our forums also serve as mirrors to Usenet newsgroups. Many posts you see on our forums are made by newsgroup users who may not be members of MyLounge.com Term of Service