Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to print 'Page 1 of X' on a report
Message
 
 
À
21/03/2002 10:44:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00635516
Message ID:
00635640
Vues:
10
>Hi, My name is Herman.
>
>I have been writing some reports with VFP6.
>I can't seen to find how to get the total number of pages
>the report will print so that I can show 'Page 1 of X' on each
>page printed. How can I do this.
>
>Thanks

Hi Herman,

Wellcome to UT! I guess, everyone of us started using UT with the same question :) At least, I had...

There are two approaches here:
1) Print report to temp file before producing the actual file and save _pageno in some variable
2) If your report is simple and doesn't use stratch with overflow option, you may want to calculate this number knowing how many records per page is usually printed... This approach is tricky and it's not recommended.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform