Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Report
Message
De
07/08/2003 16:45:22
 
 
À
07/08/2003 16:32:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Re: Report
Divers
Thread ID:
00817974
Message ID:
00817989
Vues:
12
There is one flaw in this method. Under certain conditions, which are somewhat obscure, the final page count will be off by one. The fix is to run the report to file the first time.
REPORT FORM MyRep NOCONSOLE TO FILE MyFile.txt
lnPages = _PAGENO
ERASE MyFile.txt
REPORT FORM myRep Preview
>Hi Robert
>
>You have to print the report with NOCONSOLE
>store the number of pages which will be held in _PAGENO
>then print the report again.
>
>lnPages=0 && Must init before rep
>REPORT FORM myRep NOCONSOLE
>lnPages=_Pageno && last Page of Rep
>REPORT FORM myRep Preview
>
>Like so.
>
>Nick
>
>>How can i know the number of page of a report ?
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform