Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Progress bar
Message
From
18/08/1999 07:28:33
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Miscellaneous
Thread ID:
00254765
Message ID:
00254868
Views:
16
>Thanks Fernando
>
>I can do that, I'm ussualy using progress bar when generating report or processing data, but I'm still don't know how to use progress bar when indexing table.
>
>Send me example code to heksa@bigfoot.com if you have.
>
>Many thanks


You have to include a call in your index expression to a function that updates the progress bar. Something like:

index on MyName+updbar()

where updbar() updates the progressbar and returns a value that can be summed with the index expression. '' in the example above.

There is a problem with this solution. The index is no longer used by rushmore optimization.

There is an article in one of the latest FoxPro Advisor that shows how to strip the function from the index using low level file handling after the indexing is done.
Previous
Reply
Map
View

Click here to load this message in the networking platform