Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Total # of pages on report?
Message
De
02/05/2000 11:28:57
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00364919
Message ID:
00365113
Vues:
21
Thanks, the FAQ mentioned that.

>>Is there any way to get the total # of pages for a report (to print a Page 1 of 10 at the bottom) in VFP 5.0a?
>>
>>I read the FAQ for printing and saw the code fragment:
>>
>>Report form MyReport to prompt NoConsole
>>gnTotalPages = _pepage
>>
>>But _pepage seems to always be 32767. Any ideas?
>>
>>Chris Vesper
>
>Chris, you have to run your report twice. First time REPORT FORM TO FILE ... NOCONSOLE
>then you get _pageno and run report the second time using it for the total number of pages.
>You need to use TO FILE NOCONSOLE because there are situations when _pageno may be wrong if you output it to SCREEN NOCONSOLE
>
>Nick
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform