Home » Developer & Programmer » Forms » Progress Bar Between the display of data Please Help This is Very Urgent.
Progress Bar Between the display of data Please Help This is Very Urgent. [message #87736] Sat, 05 February 2005 22:35 Go to next message
sibajeet
Messages: 5
Registered: December 2004
Junior Member
I want to use progress bar between the transaction
in the forms(Oracle Forms 6i)
iam created a form which displays the records after
8 to 10 mints for this i want to use progress bar
to display the progress of the records.

sibajeet
Please Help.....
Re: Progress Bar Between the display of data Please Help This is Very Urgent. [message #87741 is a reply to message #87736] Sun, 06 February 2005 19:57 Go to previous messageGo to next message
Riaz
Messages: 112
Registered: February 2002
Senior Member
Salam..Plz check the following working example. Create a dsiplay_item1 on block cbk. and code the following. It works fine. For any further query contact again here in this forum.

Riaz
DECLARE
   CURSOR c1  IS
   SELECT  col1,col2      FROM mytable;
   n  c1%ROWTYPE;
   
   pcnt   number;
   tot_rc number := 0;
   a number:=1;
  
BEGIN
   pcnt := 0;
   FOR n IN c1 LOOP
      tot_rc  := tot_rc +1;
   end loop;
   
  
   FOR n IN c1 LOOP
     
      pcnt :=round((a*100/tot_rc),0);
      set_application_property (cursor_style, 'BUSY');
      <font color='RED'>
     gt(n.rn);      -- doing calcuation here
 </font>
    
     set_application_property (cursor_style, 'DEFAULT');
     set_item_property('cbk.display_item1',width,pcnt*2);
           
     SYNCHRONIZE;
     a:=a+1;
      
   END LOOP;
     
   END;

Re: Progress Bar Between the display of data Please Help This is Very Urgent. [message #146133 is a reply to message #87736] Tue, 08 November 2005 17:43 Go to previous messageGo to next message
ramisy2k
Messages: 150
Registered: April 2005
Senior Member
Riaz
i have problems implementing your procedure
pls tell me where to put this code, in which trigger
i have put this code in when button pressed trigger but it does not compiles and shows errors at the following place

<font color='RED'>
     gt(n.rn);      -- doing calcuation here
 </font>



would you pls help me out???
regrds,

[Updated on: Tue, 08 November 2005 17:45]

Report message to a moderator

Re: Progress Bar Between the display of data Please Help This is Very Urgent. [message #146146 is a reply to message #146133] Tue, 08 November 2005 21:07 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Search this forum for 'progress' and you will find http://www.orafaq.com/forum/m/126649/67467/?srch=progress#msg_126649 and http://www.orafaq.com/forum/m/120834/67467/?srch=progress#msg_120834.

David
Previous Topic: Online site for D2K Forms 6i practice
Next Topic: how to connect different db reports to one menu
Goto Forum:
  


Current Time: Fri Sep 20 05:40:56 CDT 2024