LAST_QUERY in Form and OAF Page

来源:互联网 发布:淘宝最好的推广方法 编辑:程序博客网 时间:2024/06/02 06:17

1.Form里查看Last_Query

SYSTEM.LAST_QUERY

Represents the query SELECT statement that Oracle Forms most recently used to populate a block during the current Run form session. The value is always a character string.


从上面的Last_Query定义的解读:
1.SYSTEM.LAST_QUERY返回的只能是查询(Select)的SQL语句,不会有Update,Insert,Delete SQL语句;
2."The current Run form session"说明不同的Form,SYSTEM.LAST_QUERY可以有不同的值的,不会混淆;
3."Used to populate a block"说明只有查询类的Block,才能查出值来。所以不要指望,执行一个LOV后,SYSTEM.LAST_QUERY返回一个查询语句


System.Last_Query的业务处理的逻辑代码写在框架APPCORE.pld


2.OAF页面如何查看Last_Query





原创粉丝点击