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!

Successful report returning TERMINATED_WITH_ERROR

Dave SmylieFeb 15 2007 — edited Feb 19 2007
I'm running Oracle 10g with Reports 9i.
I'm trying (and succeeding) to run a report submitted via a dynamic parameter form. The call works, the parameters are past thru, the report successfully runs to completion and is displayed exactly as it should. The code is:

v_reportserverjob := RUN_REPORT_OBJECT(v_report_id);
v_rep_status := REPORT_OBJECT_STATUS(v_ReportServerJob);

However . . . on checking the report_status, it returns TERMINATED_WITH_ERROR, which throws up all sorts of scary warnings to the user about the report failing. I could just ignore this return value, but I'd rather not, in case the report did genuinely fail one day.

Any ideas why this would be returning TERMINATED_WITH_ERROR when it did in fact not TERMINATE_WITH_ERROR?

Thanks
Dave
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 19 2007
Added on Feb 15 2007
4 comments
2,561 views