The plot thickens. I tweaked my data set so that the one page group at the 
beginning went away, and I allocated those records to a group in the middle of 
the data set. That group now runs to 3 pages but the _pagetotal system var 
still shows 2 so I get the mathematically incorrect Page 3 of 2 for that group. 
So I'm guessing I can't really do this if I want to rely on _pageno and 
_pagetotal... (Paging Cathy Poutney... <grin>)

--

rk
From: ProfoxTech <profoxtech-boun...@leafe.com> On Behalf Of Richard Kaye
Sent: Friday, August 12, 2022 12:39 PM
To: profoxt...@leafe.com
Subject: Report page number resets by group using page x of y expression

ProFoxers,

I have a report. It has 2 groups and I'm using a page x of y object in the page 
footer. I want the page numbers to reset on the outer group. I've set the 
appropriate setting in that group. With the particular data set I am testing 
with, the first group only has one page worth of data. All the rest of the 
groups have up to 2 pages of data. However, the x of y object shows 1 of 2 for 
the first group and I'm expecting 1 of 1. As I continue to poke at this I 
figured why not throw out an actual VFP question to the collective wisdom.

Happy Friday!

--

rk


_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: https://leafe.com/archives
This message: 
https://leafe.com/archives/byMID/mn2pr10mb34079e9043dd962df96510d5d2...@mn2pr10mb3407.namprd10.prod.outlook.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to