Home » Developer & Programmer » Forms » calling triggers
calling triggers [message #87169] Sat, 11 December 2004 22:21 Go to next message
aditya
Messages: 36
Registered: March 2001
Member
hi all,
can i call on trigger from the other tigger.What i mean to ask is can i call when-button-pressed from the post-text-item trigger if at all i can call how to do that..

kindly please help...
Re: calling triggers [message #87176 is a reply to message #87169] Sun, 12 December 2004 21:29 Go to previous message
Frank
Messages: 7901
Registered: March 2000
Senior Member
You can execute triggers by using the EXECUTE_TRIGGER builtin. However, since you cannot define the scope of it (WHICH when-button-pressed trigger should fire ??) you can not always use it.
A (much) better way to achieve this is to create a forms-procedure that contains the logic now stored in the WBP-trigger. Call that procedure from both the WBP and the PTI triggers.

hth
Previous Topic: forms 10g under windows AS 10 under linux
Next Topic: Problem with OC4J instance
Goto Forum:
  


Current Time: Thu Sep 19 05:46:48 CDT 2024