Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Number of Page
Message
De
28/11/2001 14:36:21
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Divers
Thread ID:
00587093
Message ID:
00587135
Vues:
39
It's work perfectly. Thanks a lot

>To get number of pages in report you have first print it to file and store # of pages in the variable
nTotalpages = 0
>Report form myreport to file < temp file > NoConsole
>lnTotalpages = _PAGENO
>Report form myreport to printer ...
>
>* "Page : " + TRANSFORM(_pageno) + " of " + TRANSFORM(lnTotalpages )
>
>>I put this code on a field and it does'nt work.
>>"Page : " + alltrim(STR(_pageno)) + " of " + alltrim(STR(_pbpage))
>>
>>ex:
>>Page 1 = Page 1 of 1
>>Page 2 = Page 2 of 1
>>Page 3 = Page 3 of 1
>>...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform