博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Using Post-Form Trigger In Oracle Forms
阅读量:5112 次
发布时间:2019-06-13

本文共 1066 字,大约阅读时间需要 3 分钟。

Post-Form trigger in Oracle Forms fires during the Leave the Form process, when a form is exited.
 
You can use Post-Form trigger for the tasks such as: To clean up the form before exiting. For example, use a Post-Form trigger to erase any global variables that the form no longer requires. To display a message to the operator upon form exit etc.
 
This trigger does not fire when the form is exited abnormally, for example, if validation fails in the form and on failure processing halts.
 
Create the post-form trigger as shown in below screen shot:
 
 
Below is the example given for post-form trigger to ask the user on exit of the form that "Are you sure to Exit?" if user choose yes (alert_button1) then exit and if user choose No (alert_button2) then cancel the exiting of form.
 
if show_alert('conf_alert') = alert_button1 then
  null;
  -- do nothing or perform any task on exiting such as log some data etc.   
          -- and form will exit.
else
raise form_trigger_failure;
        -- this will cancel the forms exit execution.
end if;

转载于:https://www.cnblogs.com/quanweiru/p/6220140.html

你可能感兴趣的文章
Silverlight 5 系列学习之一
查看>>
最值栈
查看>>
EXTJS中文乱码
查看>>
POJ2226 Muddy Fields 二分匹配 最小顶点覆盖 好题
查看>>
POJ 2528 Mayor's posters 线段树+离散化
查看>>
将DataSet(DataTable)转换成JSON格式(生成JS文件存储)
查看>>
javascript日常学习小记
查看>>
Objective-C 学习笔记(Day 2)
查看>>
如何使用PHP显示在线Word文档
查看>>
Discuz常见小问题-如何设置163邮箱注册验证
查看>>
IO流的基础与小型项目
查看>>
机器学习之--KNN算法简单实现
查看>>
【转】NoSQL小故事:单服务器如何应付每秒75万次查询(2)
查看>>
[Unity Shader] 3D模型的简单属性
查看>>
壁纸推荐2018
查看>>
JQuery对象转dom ,dom转jQuery
查看>>
jquery 异步请求
查看>>
2018-09-25
查看>>
微信小程序开发---小程序对接Django---6
查看>>
[mysql] mysql批量操作时性能优化
查看>>