Information générale
Catégorie:
Codage, syntaxe et commandes
>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.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement