Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with _pageno variable...
Message
From
11/02/1999 17:04:29
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Help with _pageno variable...
Miscellaneous
Thread ID:
00186805
Message ID:
00186805
Views:
59
I am trying to have my report summary band ALWAYS print at the botom of the last page on the report. (using VFP6)

My idea was...
...run the report once with the the NOCONSOLE parameter to see how many pages there are (by examining _pageno) ... Then I add a blank record to the temporary report table, and "report form ... noconsole" again and again until I finally roll over to the next _pageno, then I delete one record, and then I know my summary wil be just at the end of the last page.

However, the _pageno variable does not seem to give the correct page count after the report is completed. In preview mode, the report prints about 4 lines on the second page, then prints the summary band which is about 5 lines long). But after the report runs, _pageno is equal to 1.

How can I capture the real exact page count? Or, how can I get the summary band to the bottom?
Next
Reply
Map
View

Click here to load this message in the networking platform