Home » Developer & Programmer » Forms » to display a progress bar in oracle form processing
to display a progress bar in oracle form processing [message #80352] Fri, 13 September 2002 00:49 Go to next message
Messages: 27
Registered: September 2002
Junior Member
hi everyone,

can anyone give me an idea how to create or put a progress bar or anything in my program just to notify the user the status of processing program i run is still in process. what i used to is put a message in every process the program do. another option also is i created a stacked canvas and display if still in process and after that hide the stacked canvas to notify the user that the processing is already finished. Please help me finding that codes.. thank you very much for the helped..

Re. To display a progress bar [message #80420 is a reply to message #80352] Wed, 18 September 2002 12:16 Go to previous messageGo to next message
Daniel R
Messages: 8
Registered: September 2002
Junior Member
Hi susy:
Hi,make a progress bar is very simple, just do the next:
1) create a display_item and give it a static length
that you wish.
2) In the procedure or function where you execute the
main proces that you want the users now that are
running, declare 3 variables as follows:
x number := 225; /* Size of the bar */
z number; /* Size of the step */
c number; /* Counter */

c := 0;
The variable "z" recievs the result of a
SELECT COUNT(*) into z from xxx where xxx; as

z := x/c;
x := 0;
3) Initialize the bar:


4) Inside a loop or something put the following line:
The loop could be the main loop or your proces.
x := x + z;

5) Before the loop ends put the following lines:


6) After loop ends write this line:


7) Separate of this in a WHEN-NEW-FORM-INSTANCE
Trigger put the next line:


8) In a WHEN-BUTTON-PRESSED Trigger put this line:


This procedure works i'm actually using in my forms and it works, just need to change a little things related your aplication. I hope this help, by.
Re: to display a progress bar in oracle form processing [message #84879 is a reply to message #80352] Fri, 07 May 2004 00:32 Go to previous messageGo to next message
Messages: 2
Registered: May 2004
Junior Member
Hai Daniel,

I need extra notes regarding "progress bar" kindly send one fmb that contain "progress bar" coding. i can use it as template.

Very Urgent..please..

Re: to display a progress bar in oracle form processing [message #647221 is a reply to message #84879] Sat, 23 January 2016 03:03 Go to previous message
Messages: 20
Registered: October 2015
Location: Dhaka, Bangladesh
Junior Member

Hi Daniel R;

Please i need a progress bar which i use in oracle 6i form. please A demo fmb file send in my mail.

Previous Topic: FORMS Page quit while executing query.
Next Topic: help client_ole2 with arabic letters
Goto Forum:

Current Time: Fri Jun 18 06:57:30 CDT 2021