Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Page _ of _
Message
 
 
À
05/07/2006 10:59:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01133843
Message ID:
01133850
Vues:
18
>Scott
>
>This seems to be one of the most common requests.
>
>First include a var in the report at:
>
>'Page ' + alltrim(str(_pageno)) + ' of ' + alltrim(str( lnEndPage))
>
>Then do
>
>Report Form rptYourReport NOCONSOLE && Note no output
>lnEndPage = _pageno && will now hold last page no.
>Report Form rptYourReport ... && the actual desired report
>
>Later VFP (8 onwards I think) has an _endpage (or similar) report var
>
>HTH
>
>Terry

I's a _PAGETOTAL system variable. BTW, I think there is a bug if this variable is included in the report. When you try to print the report, there is no way to Cancel its execution pressing Cancel button on the printing window.
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