Home » Developer & Programmer » Forms » reps 2.5
reps 2.5 [message #78151] Tue, 22 January 2002 09:01 Go to next 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
Re: reps 2.5 [message #78161 is a reply to message #78151] Tue, 22 January 2002 18:24 Go to previous messageGo to next message
dinakar shetty
Messages: 29
Registered: January 2002
Junior Member
i think it is not due to ur code
may be one of the parameters u are passing is invalid
Re: reps 2.5 [message #78163 is a reply to message #78151] Tue, 22 January 2002 20:21 Go to previous messageGo to next message
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);
Re: reps 2.5 [message #78183 is a reply to message #78163] Thu, 24 January 2002 08:04 Go to previous message
Thanks Sokeh I will try t
Messages: 1
Registered: January 2002
Junior Member
Thank you.
Previous Topic: Re: free material for oracle 8i
Next Topic: Trapping typed key
Goto Forum:
  


Current Time: Thu Apr 02 14:54:16 CDT 2020