Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Status Bar showing progress

Status
Not open for further replies.

mbutler55

Instructor
Feb 5, 2003
33
US
I have a script that is "backing up" and "restoring" files. Because there are MANY files, many of which have thousands of records, the script takes a LONG time. I really have 2 questions:

1 - I have frozen the screen, but the delete records, import records, and export records status boxes are still showing. Is there anyway for these "progress" boxes to not appear?

2 - Is there a status bar showing percentage performed that can be scripted in?

Thanks as always!
 
If I understand your solution, I think you should design a simple screen that shows "Back Up In Progress". Have your back up script call this at the appropriate time.

Then you could write a lock and then an unlock script for the side bar.

Select in the script: Toggle Status Area[hide,lock]

Then create an unlock script to unlock the status bar.

In your back up script, call to have the screen change to the back up in progress screen, then call the script to lock the status bar, do the back up, then call the script to unlock the status bar, then change the screen back to where you want it to be.

FM does not offer a progress bar. I have seem some creative solution to create a status bar using smoke and mirrors an graphics. You may be able to find a plugin that will create a status bar.


Marty
 
Presumably you are referring to the annoying windows showing the progress of export, sort, etc.?
There is no way of getting rid of them (except for the usually impractical option of looping.)
Re the progress bar, define a global repeating container field (horror! horror!) with 100 repetitions. Format it so it looks like 100 little vertical bars. Set each bar to a coloured 'blob' for each 1% of progress. You need to do the calculations to find whyere you are up to.

Cheers,
Paul J.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top