Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Total No. of Pages in a Report
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00128007
Message ID:
00128220
Vues:
27
>>Hi To All!
>>
>> What are the ways to know the Total No. of Pages in a report. I want to appear my page number as "Page no. # of #".
>>
>>Thanks and Hope somebody can help me.
>
>Hi Charlotte
>
>This is how to solve your problem:
>
>Create a window that is not visible. [ Ex. In position -1000, -1000]
>Run your report in this window.
>Use _PAGENO to see the number of pages that were printet.
>Run your report again, "the normal way", and use the previus _PAGENO as your 'of #'

Also: If you run your report
REPORT FORM myreport.frx TO SCREEN NOCONSOLE
you don't need to create a window for it.

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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform