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:[EMAIL PROTECTED]]
> 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: [EMAIL PROTECTED]
> 
> 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: [EMAIL PROTECTED] (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: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to