Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Number of Page
Message
 
 
À
28/11/2001 13:26:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Divers
Thread ID:
00587093
Message ID:
00587096
Vues:
70
This message has been marked as the solution to the initial question of the thread.
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
>...
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform