首页 > 数据库技术 > 详细

Populating Display Item Value On Query In Oracle Forms

时间:2016-12-25 20:43:25      阅读:205      评论:0      收藏:0      [点我收藏+]
Write Post-Query trigger for the block you want to fetch the field value for display item.

Example

Begin
   Select Ename into :datablock.dspname
      from emp
      where ecode = :datablock.ecode;
   -- Field dspname in datablock will be populated with the value 
exception
   when others then
   -- you can ignore error  
      null; 
End;

You can write multiple plsql blocks in post-query trigger for different tables.


技术分享

Populating Display Item Value On Query In Oracle Forms

原文:http://www.cnblogs.com/quanweiru/p/6220331.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!