Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Page Numbering Question
Message
De
31/10/1998 02:40:44
 
 
À
30/10/1998 16:48:44
Rebecca Stottlemire
Kansas State Department of Commerce
Topeka, Kansas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00153056
Message ID:
00153134
Vues:
22
I am assuming that you are using the Report designers Data Grouping. Try this. Make a report variable (lets call it 'lnPage') that stores the variable _pageno and resets when the data grouping changes. Next make a report variable (let's call it 'lnTotalPages') that SUMS this Expression "IIF(lnPage=_pageno,0,1)". Make sure 'lnTotalPages' is ABOVE 'lnPage' in the Variables list. Since '_pageno' gets incremented before variables are evaluated, 'lnPage' will have the previous page number. And since Variables are evaluated in the order they are listed, lnTotalPages will Always increment by one. Let me know if you have any problems..Thanks
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform