Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Page X of Y
Message
 
 
À
22/01/2003 12:13:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Divers
Thread ID:
00744329
Message ID:
00744331
Vues:
15
Hi Sapna,

There is a FAQ here on this topic.

Anyway, the general approach requires two passes. First pass would be to dummy file, then the real pass, e.g.
private pnNumPages
pnNumPages = 0
report form myReport to file dummy.txt
delete file dummy.txt
pnNumPages = _pageno 
report form myReport to ... && Real pass
Use pnNumPages variable in your report.

VFP8 has this as native property...


>Hi,
>I have a report and in the header of the report, I want each page to show the current page number and the total pages in the report. Something like:
>
>Page X of Y
>
>where X is the current page and Y is the last page. Any ideas on how I should go about doing this? Thanks in advance for all your help.
>
>-Sapna Bhargava
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform