Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Display status of a long process?
Message
From
08/01/1997 04:42:43
 
 
To
07/01/1997 11:18:42
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00016435
Message ID:
00016725
Views:
33
>I found the timer event not fired until the SCAN LOOP command executed,
>what's wrong ? Is there any one have a good idea or any 3rd-party .OCX can
>do this kind of things ? Please give me some help, I really need that !
>Thanks a lot !
>Catherina of AS SOTA Co.

You can use SCAN WHILE or SCAN FOR and an expression that returns .T. so that it will scan the whole file. That expression could be a User Defined Function that every 10 records adds a ">" to that message.

I use Rick Strahl's wwTherm class for VFP 3, with an addition that I hope will get into FoxTalk (around MAY due to publication delays).

You can AND your logical expression to the front of your existing FOR/WHILE expression so that it gets executed (remember VFP has short circuit evaluation) and yet doesn't disturb the program too much.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform