Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Progress Status during Append
Message
From
27/09/2002 13:41:34
Andrew Fell-Gordon
Calypso Publications Ltd
Enfield, United Kingdom
 
 
To
27/09/2002 11:21:34
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00705246
Message ID:
00705341
Views:
14
Have you got a DoEvents in your file processing code? If not your code is probably locking out the timer event.

I generally prefer to do my own periodic update using an internal counter within the loop as I've found the overhead on frequent timer calls slows down processing too much.

lnUpdateCount = 0
Do while Not Feof()
lnUpdateCount = lnUpdateCount + 1
if lnUpdateCount > 100 && or whatever value keeps update progressing
&& without slowing down processing too much
Thisform.UpdateProgress(lnUpdateCount-1)
&& so I'm telling them how many records have been processed
lnUpdateCount = 1
endif

*-- then on with the real work
Enddo

Best regards

Andrew
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform