>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only