码迷,mamicode.com
首页 > 数据库 > 详细

Populating Display Item Value On Query In Oracle Forms

时间:2016-12-25 20:44:02      阅读:217      评论:0      收藏:0      [点我收藏+]

标签:back   isp   lin   pos   float   ica   apple   let   inline   

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

标签:back   isp   lin   pos   float   ica   apple   let   inline   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!