Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Page X of Y in Reports
Message
De
13/07/2005 06:00:50
Man Wai Chang
Hang Hing Metal Manufacturer
Hung Hom, Hong Kong
 
 
À
28/06/2005 14:38:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 7
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01027163
Message ID:
01032099
Vues:
16
> A manager requested that the footer for the document be
> changed from “Page x” to “Page x of y” where y is the
> total number of pages and x is the current page number.
> I know this was not possible with previous versions of VFP
> but can it be done somehow?

Create a global variable total_pages. set it to 0.
Add a field in the report to print variable total_pages.
Run "report form ... noconsole". Set total_pages to _pageno.
Run "report form ... to printer" to get your page _pageno of total_pages.
Regards,
Mr. Man-wai Chang
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform