|
|
|
|
Re: calling function inside the procedure [message #510056 is a reply to message #510052] |
Thu, 02 June 2011 05:53 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) |
![](http://www.orafaq.com/forum/images/custom_avatars/72104.gif) |
Littlefoot
Messages: 21818 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
Right; what I meant (and never said) was that it is any trigger or a procedure within that form. Today it is "normal" to put such a code (that is used more than once) into its own, well, "program unit". However, if someone insists, it is possible to leave it in a trigger and call it with EXECUTE_TRIGGER.
I can't test it now, but I *suppose* it is still here (for backward compatibility, I'd say) as the "old" Forms versions (prior to 3.0) didn't have "Program units" section so EXECUTE_TRIGGER was the only way to do such a job (i.e. reuse piece of code).
|
|
|