Home » Developer & Programmer » Forms » how to my own error message on forms (Forms 6i)
how to my own error message on forms [message #412745] Sat, 11 July 2009 02:04 Go to next message
mm_kanish05
Messages: 493
Registered: January 2007
Location: Chennai
Senior Member

Hi,
I am using forms 6i, and quering data, it says

Frm-40301 : query cause no records


I know its not error, it is message. How to handle the frm message.

That i want to handle please how to do it.

kanish

[Updated on: Sat, 11 July 2009 02:07]

Report message to a moderator

Re: how to my own error message on forms [message #412748 is a reply to message #412745] Sat, 11 July 2009 02:32 Go to previous message
Littlefoot
Messages: 21818
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Search for use of ON-MESSAGE (and ON-ERROR) triggers. In a few words: you'll trap it with IF-THEN-ELSE, such as
 IF message_type = 'FRM' AND
   message_code = 40301
THEN
   message('Your message here');
   some_code_here;
ELSE
   some_code_here;
END IF;
Previous Topic: Datablock with tabs
Next Topic: Control Arrow Keys
Goto Forum:
  


Current Time: Fri Sep 20 13:32:13 CDT 2024