Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Progress bar for Indexes
Message
 
To
17/01/1997 18:58:42
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00017692
Message ID:
00018925
Views:
70
> > >Is there a way to show a progress > percentage bar for the reindex function? I am using VFP 3.0, will be > upgrading to 5.0 soon. > > Yes, but you won't like the solution. > > You need to do an INDEX ON...FOR UDF(). In the UDF you need to determine if > the progress meter needs to be updated and then do that if needed. THe UDF > should return a "" (zero length string) because the return value will be > returned as part of the key. The UDF() is also part of the key, so it will > be run everytime you access the index for a SEEK or whatever. This will > slow down your SEEKs. Also, the index process itself will be slower because > of the access to the UDF and the display of the progress bar. One other > thing, you can FOPEN() the CDX after you index and take out the reference > to the UDF...this will stop the UDF from being called all the time. > > Craig Hi Craig, could you please, give me closer informations how to take out these ref. I tried, but all got was damaged cdx file :-( that I had to delete and recreate. When I opened cdx file with modi fille ... I was able to see my FOR condition, but not phrase FOR. TIA Dezider --
There were three worst disasters in the history of human
race in 20-th century:
1, Hiroshima 44
2, Tchernobyl 86
3, Windows 95
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform