Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Page Numbering Question
Message
From
31/10/1998 02:40:44
 
 
To
30/10/1998 16:48:44
Rebecca Stottlemire
Kansas State Department of Commerce
Topeka, Kansas, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00153056
Message ID:
00153134
Views:
21
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
Previous
Reply
Map
View

Click here to load this message in the networking platform