General information
Category:
Reports & Report designer
Title:
Help with _pageno variable...
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
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