Refresh / Updating a form screen in Oracle D2k Forms 6i

Problem

You want to show number of records processed progress or a progress bar on form through a procedure. 

Solution

Declare
  nTotalRec Number := 10000;
  nCurrRec Number := 1;
Begin
   For i in 1..nTotalRec Loop
       :ablock.aitem := nCurrRec;
       Synchronize; -- this will update the screen
       --- do something here
       nCurrRec := nCurrRec + 1;
   End Loop;
End;

This will do the needfull. But during this process if anybody click on the form then it will not show the progress but processing will be continued. The solution of this problem is to put the below command in when-new-form-instance trigger:

:system.message_level := 5;

Now a smooth screen update will run.

You can ask any questing related to Oracle PLSQL and D2k through comment, I will give you soon reply.



Refreshing a form in Oracle

Reviewed by Vizu Fernandis on

Jan 06

Rating: 
5

最新文章

  1. redis事务详解
  2. css形状大全
  3. iOS javascript js 交互
  4. css中font-family的中文字体
  5. CentOS安装Hypernetes相关问题解法
  6. 关于基于.NET Framework的网络通信程序底层扫盲
  7. orientationchange不管用啊
  8. android学习——MeasureSpec介绍及使用
  9. Flask-在浏览器中直接显示文本文件中的内容
  10. Process Stats:了解你的APP如何使用内存(转)
  11. Struts2之—集成Json插件实现Ajax
  12. MFC消息映射的原理:笔记
  13. [Usaco2008 Nov]Guarding the Farm 保卫牧场[DFS]
  14. python通过excel对数据库插入数据
  15. PHP session有效期session.gc_maxlifetime详解
  16. 2018-2019-2 《网络对抗技术》Exp4 恶意代码分析 Week6 20165311
  17. C语言扫盲及深化学习
  18. 用牛顿-拉弗森法定义平方根函数(Newton-Raphson method Square Root Python)
  19. 单片机成长之路(51基础篇) - 022 N76e003 APROM模拟EEPROM驱动
  20. 一个开启多个事务导致OptimisticLockException异常的问题

热门文章

  1. zw版【转发·台湾nvp系列Delphi例程】HALCON BinThreshold
  2. 【linux】自定义配置debian+openbox
  3. repeater做删除前弹窗询问
  4. Left Join 与Right Join 与 Inner Join 与 Full Join的区别
  5. 学点儿c#语言wpf开发
  6. android textView 添加超链接(两种实现方式)
  7. ssh-keygen+ssh-copy-id 在linux下实现ssh无密码登录访问(转)
  8. 通过进程检测服务时脚本文件名不要起要检测的服务名字命名 shell程序从上到下执行若定义函数或引用系统函数需先定义 kill -USR2
  9. Makefile,如何传递宏定义DEBUG【转】
  10. 利用arcigs制作出 源解析要用的ASCII文件