Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ProgressBar while indexing
Message
De
06/08/1999 09:50:41
 
 
À
06/08/1999 03:12:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00248907
Message ID:
00250636
Vues:
16
>>Hi Pat.
>>
>>>Can anyone give me the final trick to show the progression of an INDEX command WITHOUT getting the function name of the Progression routine written to the index file.
>>
>>While Mark and Kenneth answered your question directly, I have this comment: are you sure you want to do this? You can expect a tremendous increase in the time it'll take to create the index if you display a progress meter.
>>
>>Doug
>
>Definitely Doug! I know it can increase the indexing time but indexing a 2 million records table is a process that takes already a long time and because I don't show the progression, the user presses the button a second time anyway!
>
>Pat
Pat,
You may get what you want if you open a form that autoplays an avi of your choice before you start your lenghty process. I do this for showing the user some indication that there's a process running while executing sql pass-through calls. I tested with the index, and it keeps running just fine:
Use mytable
Do Form myaviform Name oForm
Index On myfield Tag myindex
oForm.Release
The form uses a regular OLE control with the MS animation activex or whatever is called. The control has autoplay=.F. The init of the form has:
This.myolecontrol.autoplay=.t.
This.myolecontrol.Open('myavi.avi')
This tip was on FoxPro advisor too.HTH
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform