reps 2.5 [message #78151] |
Tue, 22 January 2002 09:01 |
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
|
|
|
|
Re: reps 2.5 [message #78163 is a reply to message #78151] |
Tue, 22 January 2002 20:21 |
sokeh
Messages: 77 Registered: August 2000
|
Member |
|
|
just insert this in your code and it should solve the problem.
Exception
when srw.program_abort Then
Null ;
return (true);
|
|
|
|