need Group Page Total in each page header

Posted by: curious-dd on 4 August 2017, 3:15 pm EST

  • Posted 4 August 2017, 3:15 pm EST

    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

  • Replied 4 August 2017, 3:15 pm EST

    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
    2009/06/GroupPageNumber.zip
  • Replied 4 August 2017, 3:15 pm EST

    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
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels