Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Oracle Reports!
Hi Sesi,
BEFORE_REPORT_TRIGGER is fired before sql statement is executed, so you can't abort your report execution here by using that trigger.
HTH, Sony
> -----Original Message-----
> From: Sesi Odury [SMTP:SesiO_at_netinfotech.com]
> Sent: Friday, February 21, 2003 4:19 AM
> To: Multiple recipients of list ORACLE-L
> Subject: Oracle Reports!
>
> Hi List,
>
> I need to abort the report execution, if the query generating report
> returns no rows. I tried to do this using the report trigger 'before
> report'. I have written code like this
> Function BEF_REP_TRG return boolean is
>
> begin
>
> return (true);
>
> Exception
> when no data found
> return (false);
> end;
> But ,it is displaying rep-1825 Before Report trigger returned false .
> Can we remove this???
>
> Thanks
> Sesi
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> --
> Author: Sesi Odury
> INET: SesiO_at_netinfotech.com
>
> Fat City Network Services -- 858-538-5051 http://www.fatcity.com
> San Diego, California -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
>
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Sony kristanto INET: Sony_at_polyfincanggih.com Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Fri Feb 21 2003 - 01:48:38 CST