ITPub博客

首页 > 数据库 > Oracle > Difference between Do_Key('Exit_Form') and Exit_Form

Difference between Do_Key('Exit_Form') and Exit_Form

原创 Oracle 作者:pan_tian 时间:2014-07-02 16:37:24 0 删除 编辑

In Oracle Application Developer Guide, It says following...

The Oracle Applications forms have special exit processing. Do not call EXIT_FORM directly; always call do_key(’EXIT_FORM’).


What\'s difference between Do_Key(\'Exit_Form\') and Exit_Form?

EXIT_FORM
exit_form will close form (with validation).
Calling the exit_form built-in performs the standard exit form process (only).

Do_Key(\'Exit_Form\')
If you want to customize your exit process, you need a KEY-EXIT trigger. Then calling do_key(\'exit_form\') will execute the trigger and your custom code will run.
It\'s a good idea to use the do_key mechanism always. The standard functionality will be the same. 


BTW:How to exit whole application,code like:

copy(\'Y\',\'GLOBAL.APPCORE_EXIT_FLAG\');

do_key(\'exit_form\');


<!-- Baidu Button BEGIN -->

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/26687597/viewspace-1204953/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: Interface Managers - Material Transaction - Process Interval - Field Not Updatable
下一篇: Difference between Commit,COMMIT_FORM and Do_Key('Commit_Form')
请登录后发表评论 登录
全部评论
暂无介绍

注册时间:2012-02-18

最新文章