Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Selecting pages to print from reports
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00228634
Message ID:
00228685
Views:
15
>Hi folks,
>
>Does anyone in the world know whether I can select a range of pages to print from the report generator? For example, I output reports using a .prg file & report (.frx), but sometimes these reports run into 20-30 pages, when I only need to report on the first 2 or 3...
>
>Chris Kable
>MotorLink Systems


If you are not looking for middle sections like pages 4-7, you can apply

lnPageLimit = 3
_pageno = 1 && just to reset pagecounter from any previous run
REPORT FORM MyReport WHILE _pageno <= lnPageLimit

In this case, it will go to the first record of the 4th page, but will keep the limit down under your control...

HTH
Previous
Reply
Map
View

Click here to load this message in the networking platform