>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
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer