Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Break Out of a Loop
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01348930
Message ID:
01348941
Views:
11
>Hi.
>I have a loop as folows (VFP Ver 8)
>For x= 1 to MyCount
> Report Form MyForm Preview
>Endfor
>
>This brings up the Printer Preview each time, but if there are say 300 to print,
>this can be time consuming .
>Is there any way of aborting out of a loop like this ?
>
>Regards,
>Gerard

Throw in an ON ESCAPE statement before the loop?
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform