Home » Developer & Programmer » Forms » Distinguish between error messages
Distinguish between error messages [message #660025] Tue, 07 February 2017 13:01 Go to next message
IneedYourHelp
Messages: 27
Registered: January 2017
Junior Member
Hey

I want to write my own error messages. Therefor I need to distinguish between the errors.
Is there some way to catch the error message (checking it directly or saving the text into a variable)?

Thanks in advance!
Re: Distinguish between error messages [message #660026 is a reply to message #660025] Tue, 07 February 2017 13:10 Go to previous messageGo to next message
BlackSwan
Messages: 26733
Registered: January 2009
Location: SoCal
Senior Member
IneedYourHelp wrote on Tue, 07 February 2017 11:01
Hey

I want to write my own error messages. Therefor I need to distinguish between the errors.
Is there some way to catch the error message (checking it directly or saving the text into a variable)?

Thanks in advance!
HUH?
What does above have to do with Oracle?

>I want to write my own error messages.
what does above mean?
What constitutes an error?

>Is there some way to catch the error message
who, how, when, where & why does error get thrown?

What problem are you really trying to solve?
Re: Distinguish between error messages [message #660028 is a reply to message #660026] Tue, 07 February 2017 13:21 Go to previous messageGo to next message
IneedYourHelp
Messages: 27
Registered: January 2017
Junior Member
If Forms prints an error message like Frm-... and so on, I want to print my own message instead. Therefor I need to check if it is frm-x or frm-y.
Re: Distinguish between error messages [message #660036 is a reply to message #660028] Tue, 07 February 2017 15:43 Go to previous messageGo to next message
Littlefoot
Messages: 21594
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
You should use ON-ERROR and/or ON-MESSAGE form triggers. You'll find examples in Forms Online Help system.
Re: Distinguish between error messages [message #660116 is a reply to message #660036] Thu, 09 February 2017 03:48 Go to previous message
IneedYourHelp
Messages: 27
Registered: January 2017
Junior Member
Thanks, the examples are good.
Previous Topic: Reports parameter form
Next Topic: Meassge sending termwise
Goto Forum:
  


Current Time: Thu Sep 24 07:21:06 CDT 2020