Home » Developer & Programmer » Forms » Error control
Error control [message #635407] Sun, 29 March 2015 23:10 Go to next message
hahaie
Messages: 194
Registered: May 2014
Senior Member
hello,
for DML structure(insert,delete,update,...) i used icons above form.
but when i used this structure Error occurs.i want control this error.
for example sometimes show error FRM-40508 when i click on Save icon.
i want when showed this error i show a error with my language.how to?
please help me....
Re: Error control [message #635411 is a reply to message #635407] Mon, 30 March 2015 00:17 Go to previous messageGo to next message
Littlefoot
Messages: 21623
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
ON-ERROR (and ON-MESSAGE) triggers help you capture errors and handle them.
Re: Error control [message #635415 is a reply to message #635411] Mon, 30 March 2015 00:36 Go to previous messageGo to next message
hahaie
Messages: 194
Registered: May 2014
Senior Member
thanks,and error code?
Re: Error control [message #635419 is a reply to message #635415] Mon, 30 March 2015 01:18 Go to previous messageGo to next message
Littlefoot
Messages: 21623
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Something like
if error_type = 'FRM' and error_code = 40508 then
   ...
end if;

[Updated on: Mon, 30 March 2015 01:19]

Report message to a moderator

Re: Error control [message #635428 is a reply to message #635419] Mon, 30 March 2015 01:44 Go to previous message
hahaie
Messages: 194
Registered: May 2014
Senior Member
thnaks
Previous Topic: transfer cursor to find parameter LOV
Next Topic: form help
Goto Forum:
  


Current Time: Wed Nov 25 22:54:21 CST 2020