Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help with _pageno variable...
Message
De
11/02/1999 17:04:29
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Help with _pageno variable...
Divers
Thread ID:
00186805
Message ID:
00186805
Vues:
60
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?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform