Refresh / Updating a form screen in Oracle D2k Forms 6i
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
Refresh / Updating a form screen in Oracle D2k Forms 6i的更多相关文章
- Creating Timer in Oracle D2k / Forms 6i and Displaying a Clock
		
Creating Timer in Oracle D2k / Forms 6i and Displaying a Clock This is about timer in D2k An externa ...
 - Using GET_APPLICATION_PROPERTY in Oracle D2k Forms
		
Using GET_APPLICATION_PROPERTY in Oracle D2k Forms DescriptionReturns information about the current ...
 - DISPLAY_ITEM built-in in Oracle D2k Forms
		
DISPLAY_ITEM built-in in Oracle D2k Forms DescriptionMaintained for backward compatibility only. For ...
 - CHECKBOX_CHECKED built-in in Oracle D2k Forms
		
CHECKBOX_CHECKED built-in in Oracle D2k Forms DescriptionA call to the CHECKBOX_CHECKED function ret ...
 - Creating Dynamic LOV in Oracle D2k Forms
		
Dynamic Lov is a good idea for the form where too many Lov requirement is there with different recor ...
 - How To Tune or Test PLSQL Code Performance in Oracle D2k Forms
		
You can test or tune your program unit performance in Oracle forms with Ora_Prof package.Suppose you ...
 - Reading Csv Files with Text_io in Oracle D2k Forms
		
Below is the example to read and import comma delimited csv file in oracle forms with D2k_Delimited_ ...
 - Creating Object Library OLB in Oracle D2k Form
		
With following steps you can create Object Library (OLB) in Oracle D2k Forms.Step - 1Create a form i ...
 - Obtaining Query Count Without executing a Query in Oracle D2k
		
Obtaining Query Count Without executing a Query in Oracle D2k Obtaining a count of records that will ...
 
随机推荐
- 鸟哥的linux私房菜学习记录之例行性工作
 - django view使用学习记录
			
判断用户是否登录 request.user.is_authenticated()auth.authenticate(username=username, password=password)
 - STM32的晶振跟HSE外部时钟设置.
			
void RCC_Configuration(void){ /* RCC system reset(for debug purpose) */ RCC_DeInit(); /* Enable HS ...
 - LoadRunner并发用户和集合点的深入讨论
			
看到51上三个高手Zee, 大漠飞鹰,xingcyx的一场非常精彩的关于并发用户数和集合点的讨论,很有意义.如果对这两个概念不清楚的朋友,一定要仔细领悟了. 故事开始于xingcyx的一番话: 声明: ...
 - JS和CSS的多浏览器兼容(3)
			
3.Javascript的浏览器兼容性问题 3.1 集合类对象问题说明:IE下,可以使用()或[]获取集合类对象; Safari及Chrome下,只能使用[]获取集合类对象. 解决方法:统一使用[]获 ...
 - webApi  FileReader
			
https://developer.mozilla.org/en-US/docs/Web/API/FileReader https://github.com/node-file-api/FileRea ...
 - Java、JVM和操作系统之间的关系,写给新人,
			
来张图:这个帖子写给新人的,老玩家就直接无视他,因为这个完完全全是白话基础原理. 解释:上面的图是从上往下依次调用的关系. 操作系统(Windows/Linux)管理硬件,让硬件能够正常.合理的运行, ...
 - eclispse快捷键
			
Eclipse常用快捷键 1几个最重要的快捷键 代码助手:Ctrl+Space(简体中文操作系统是Alt+/)快速修正:Ctrl+1单词补全:Alt+/打开外部Java文档:Shift+F2 显示 ...
 - Extended Data Type Properties [AX 2012]
			
Extended Data Type Properties [AX 2012] This topic has not yet been rated - Rate this topic Updated: ...
 - PostgreSQL的 Slony-I 数据同步
			
原文--http://www.tuicool.com/articles/mMvARf 先谈谈slony的局限性: 1. DDL动作是不会被复制到: 2. 如果想使用slony来同步数据,表必须是带有主 ...