Home » Developer & Programmer » Reports & Discoverer » How to suppress the system message
How to suppress the system message [message #88039] Sun, 20 January 2002 20:03 Go to next message
S.Balaji
Messages: 1
Registered: January 2002
Junior Member
hi
>
> Now My Problem is to supress the system Message in the Report6i.
> In After Parameter Form Trigger ,I have put one validation for No Records..
> For that i have used the below Code..
>
> If Vn_cnt>0 then
> Returnn True;
> else
> Srw.message(1,'No Records');
> return false;
> end if;
>
> In the above Code the message No Records is displaying, But after that the message Generated by the system coming like this : REP-0771:After Form Trigger Failed
>
> I want to suppress this message after the "No Records" message.
>
> Pls Help me in this regard... Expecting u'r reply ..
>
>
> S.Balaji
> cherrysoft information Technologies,
> T.nagar,chennai
> Ph.: + 91 -44- 8206805 / 06 / 07 / 08 exn-218
Re: How to suppress the system message I want to know also [message #88040 is a reply to message #88039] Tue, 22 January 2002 08:56 Go to previous message
nik
Messages: 55
Registered: January 2002
Member
in Reps 2.5 I have the following code on a validation trigger called :datefrom, for example;
/-------------------------
if :datefrom > sysdate then
srw.message(00001,'Invalid date');
return (false);
else
return true;
end if;
/---------------
Okay now I force the error and get my hard coded message, but immediately after, I also get what looks like to me is an internal Oracle message;

rep--2XXX Invalid parameter input

Would anyone know how to suppress this, it looks too
untidy.

Any help or advice warmly welcomed.
Thanks
Previous Topic: dynamic page break
Next Topic: about mailing a report(very urgent)
Goto Forum:
  


Current Time: Fri Mar 29 05:27:48 CDT 2024