Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to print last page number on first page using VFP7?
Message
De
18/05/2006 12:44:11
 
 
À
18/05/2006 12:40:09
Mark Phillips
Erw Custom Programming Inc.
Waterford, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01123273
Message ID:
01123278
Vues:
22
>Hello
>
>Need to know if its possible to print the last page number on the first page in vfp7?
>
>Not sure if you can get the last page number when printing the first page?
>
>Thanks
>Mark

Yes you could, but you must run the report twice to do that:
lnTotalPages = 0
REPORT FORM ... TO MyFile.TXT NOCONSOLE NODIALOG
lnTotalPages = _pageno
REPORT FORM ... TO PRINTER PROMPT PREVIEW
And use
lnTotalPages to show total number of pages in that report.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform