Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Page total in footer
Message
 
À
20/11/1998 10:28:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00159713
Message ID:
00159723
Vues:
35
>I am having a hard time displaying the page total in the footer along with the page number. I can show the current page but not the total number of pages. In the following example how would I display the 15? Any help would be appreciated.
>
>Example:
>
> rpt hdr
>rptbody
>rptbody
>rptbody
>
>rpt footer Page 1 of 15

Michael, you need to run your report twice:
First time you just get the total pages number from the _pageno and the second time you will run it to printer using obtained value.
You can run the report first time TO SCREEN NOCONSOLE, but people say that sometimes it may give you incorrect number, so better to send it to file (and delete in then) or to NUL.

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform