need Group Page Total in each page header


06-30-2009, 6:59 AM
Hi,

i have a report grouped on "Orders"
and need to display
Page X of Y
in the page header
where X is the index of page in current group
Y is the total number of pages in the current group

tried the combination
SummaryGroup : GroupHeader1
SummaryRunning : 1 - ddsrGroup
SummaryType : 4 - ddsmpagecount
and such but the total is either showing
for Y above
but Y is showing 0 or the total number of page in the entire report

could anyone please help with info on the properties/approach that might get the desired counts to display

TIA
Regards

Re: need Group Page Total in each page header


06-30-2009, 1:58 PM
Hello,

Please consider the following suggestions to meet your requirement.

1) Set the group header newpage property to 1-ddNPBefore.
2) Set the groupheader  grpkeeptogetherproperty to 2-ddGrpall
3) Add fields to display the pagenumber and pagecount within groupheader
4) For the field to display pagenumber:-
•    Set SummaryGroup as GroupHeader
•    Set SummaryRunning as 1-ddSRGroup
•    Set SummaryType as 4-ddSMPageCount
5) For the field to display totalpagecount
•    Set the SummaryGroup as GroupHeader
•    Set the SummaryType as 4-ddSMPageCount

Please take a look at the attached sample for better illustration.

Regards,
Prantik

Re: need Group Page Total in each page header


07-01-2009, 9:12 PM
Hi Prantik,

thanks for checking on this

>> 3) Add fields to display the pagenumber and pagecount within groupheader

i need the counts in page header


am using ActiveReports 1.1 and the sample seems to need 5.0

tried the above settings, but getting
the total number of pages in the report and not the number of pages in the group.

regards