Refresh / Updating a form screen in Oracle D2k Forms 6i
2016-12-25 17:53
591 查看
Refresh / Updating a form screen in Oracle D2k Forms 6i
ProblemYou 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.
[align=center][/align][align=center][/align] [align=left]
Refreshing a form in Oracle
Reviewed by Vizu Fernandis on
Jan 06
Rating:
5[/align]
相关文章推荐
- Know How And When To Use System.Message_Level To Control Messages In Oracle Forms
- Perform Cut Copy Paste Operations Using Cut_Region Copy_Region Paste_Region Commands In Oracle Forms
- 使用EF Oracle实现DevExpress绑定大数据的ServerMode模式
- CHECKBOX_CHECKED built-in in Oracle D2k Forms
- Limiting To Select Only 5 Check Boxes Out Of Ten In Oracle Forms
- oracle 基础之表操作
- Know How To Use Check Box Mapping Of Other Values Property In Oracle Forms
- Date Picker Calendar For Oracle Forms 6i
- Freebie: Date Picker Calendar Demo Form For Oracle Forms 6i
- Creating Excel File in Oracle Forms
- Formatting Excel File Using Ole2 In Oracle Forms
- Freebie - Utility Form: Generate Excel Report From SQL Query In Oracle Forms 6i And 11g
- Create Custom Modal Dialog Windows For User Input In Oracle Forms
- Run_Product Example Form - Oracle Forms 6i
- Create Hierarchical Tree To Control Records In Oracle Forms
- 【Oracle】ORA-00054: resource busy and acquire with NOWAIT specified or timeout expired
- oracle优化经验
- Create Stacked Canvas to Scroll Horizontal Tabular Data Blocks In Oracle Forms
- Oracle Forms Project For Students Free Download
- oracle锁表处理方案