General information
Category:
Coding, syntax & commands
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only