Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to create progressBar for Indexing and packing
Message
De
03/07/1998 18:20:14
Bob Lucas
The WordWare Agency
Alberta, Canada
 
 
À
03/07/1998 01:14:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00113980
Message ID:
00114150
Vues:
15
>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
Fil
Voir

Click here to load this message in the networking platform