calling triggers [message #87169] |
Sat, 11 December 2004 22:21 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
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 Go to previous message](/forum/theme/orafaq/images/up.png) |
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
|
|
|