[progress Communities] [progress Openedge Abl] Forum Post: Status Bar

  • Thread starter Thread starter hermes
  • Start date Start date
Status
Not open for further replies.
H

hermes

Guest
I am trying to increment a status bar to show when something is completed but I am missing the logic. I have a .i file to do the processing and I wanted the parameters to be passed to that. First the .i should input from the program with something like PUBLISH "myStatus" (INPUT mytotal, myrunningcount). then in each program I want to DEF VARIABLE mytotal AS INTEGER NO-UNDO. DEF VARIABLE myrunningcount AS INTEGER NO-UNDO. ASSIGN mytotal = 100. ASSIGN myrunningcount = myrunningcount + 1. PUBLISH "myStatus" FROM THIS-PROCEDURE(mytotal, myrunningcount). My expectation is that basically starting right away the status bar grows up to like "ten" records or so right away then resets and grows to ten records until this dataset is loaded. I then want to adapt this to while this "fake" status bar loads i get the real number of records while this is working then display a real percentage of what percent of the data is loaded. Like if there are 10000 records and 5000 are loaded I show 50%. But my attempts have not worked so far. Thanks for your advice Peter

Continue reading...
 
Status
Not open for further replies.
Back
Top