Home » Developer & Programmer » Forms » catching FORM_TRIGGER_FAILURE on any form x 2 (merged)
catching FORM_TRIGGER_FAILURE on any form x 2 (merged) [message #410768] Tue, 30 June 2009 03:19 Go to next message
member.forums@gmail.com
Messages: 28
Registered: June 2009
Location: India
Junior Member
Hi
Is there any way to perform an action when form_trigger_failure is raised on any form in the gui.

Like creating trigger which would fire everytime a FOR_TRIGGER_FAILURE excetion is raised in any of the forms

Any help would be appreciated
Sapan
Re: catching FORM_TRIGGER_FAILURE on any form [message #410860 is a reply to message #410768] Tue, 30 June 2009 13:46 Go to previous messageGo to next message
Littlefoot
Messages: 20901
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Ummmm ... perhaps in the ON-ERROR trigger?
Re: catching FORM_TRIGGER_FAILURE on any form [message #410879 is a reply to message #410860] Tue, 30 June 2009 20:50 Go to previous message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
The problem I see with trapping a 'form_trigger-failure' is that you would need to 'raise' it again and this would create a 'loop' situation.

Look at the example associated with 'form_trigger_failure' in the documentation. Using this method would mean that there is only a single 'ftf' in your system and this would make logging much easier.

David
Previous Topic: First query - all searchable
Next Topic: Form 10g: Problem with SET_ITEM_PROPERTY
Goto Forum:
  


Current Time: Fri Dec 09 09:59:39 CST 2016

Total time taken to generate the page: 0.08406 seconds