Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to create progressBar for Indexing and packing
Message
 
 
To
03/07/1998 03:45:31
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00113980
Message ID:
00114004
Views:
26
>>>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
>>
>>Use MS Progressbar Control.
>>
>>Drop CommandButton and at Click Event issue:
>>
>>
nIctr = 100 &&ASSUMING 100 FILES
>>FOR ii = 1 TO nICtr
>>   USE mytable EXCL
>>   REINDEX
>>   Thisform.oleProgressBar.Value = ii*(Thisform.oleProgressBar.Max/nIctr)
>>ENDFOR
>
>Jess,
>
>I guess that the question was much more targeted at : how can I show a progress bar WHILE indexing.
>
>I've done this in the past within an UDF ... but just accessing the file later on gets the nasty progress bar to pop over.

Ahhh... does he mean % of records packed or reindexed per table??
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net

CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform