Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to create progressBar for Indexing and packing
Message
From
03/07/1998 18:20:14
Bob Lucas
The WordWare Agency
Alberta, Canada
 
 
To
03/07/1998 01:14:31
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00113980
Message ID:
00114150
Views:
17
>Hi, I hav a no idea of creating a progress Bar using vfp5.0 for displaying the % completed during Indexing and packing. can anyone please advise me on this. Thanks


One thing I have seen done in the past is to put a function call to a thermometer routine into the index statement. Like

INDEX ON CUSTID + THERMFUNCTION() TAG CUSTID

What this does is call the thermfunction for each record indexed. The function returned a blank string that did not alter the index. Within the function you counted records (how many times was it called?) and display the thermometer.

This method works well as far as displaying a thermometer but has some downsides.

Reindexing takes longer.
You can only add records if the thermfunction is in the current path.

I would never do it myself.
Previous
Reply
Map
View

Click here to load this message in the networking platform