Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ProgressBar while indexing
Message
From
06/08/1999 09:50:41
 
 
To
06/08/1999 03:12:42
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00248907
Message ID:
00250636
Views:
15
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform