Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Numbering the pages
Message
De
29/09/1998 12:21:40
 
 
À
29/09/1998 12:11:41
Sergio Ortiz
Tek Services Group, Llc
Hollywood, Floride, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00141978
Message ID:
00141987
Vues:
24
>My report numbers the pages as follow : Page : 1, Page : 2 .....
>
>I would like to number the pages with the total of pages that I am printing as follow :
>
> Page : 1 of 25, Page : 2 of 25, ....
>
>Does anybody knows how to do this?
>
>Thanks,
>Sergio

You have to run the report first to find out how many pages it contains.
Check the value of _PAGENO when it is finished and this is your total number of pages.
REPORT FORM myreport to tmpfile.txt
PRIVATE nTotPages
nTotPages = _PAGENO

Then in your report, refer to the nTotPages variable.
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform