Using Post_Query Trigger in Oracle Forms
Posted djjddjdj
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Using Post_Query Trigger in Oracle Forms相关的知识,希望对你有一定的参考价值。
When a query is open in the block, the Post-Query trigger fires each time Form Builder fetches a record into a block. The trigger fires once for each record placed on the block’s list of records.
Usage Notes
Use a Post-Query trigger to perform the following tasks:
· populate control items or items in other blocks
· calculate statistics about the records retrieved by a query
· calculate a running total
·
When you use a Post-Query trigger to SELECT non-base table values into
control items, Form Builder marks each record as CHANGED, and so fires
the When-Validate-Item trigger by default. You can avoid the execution
of the When-Validate-Item trigger by explicitly setting the Status
property of each record to QUERY in the Post-Query trigger. To set
record status programmatically, use SET_RECORD_PROPERTY.
以上是关于Using Post_Query Trigger in Oracle Forms的主要内容,如果未能解决你的问题,请参考以下文章
Oracle Forms - 如何加快 POST_QUERY 触发器?
Define Custom Data Filter Using Pre-Query Trigger In Oracle Forms