Home Subreports

Sub Report Page Number

edited November 2005 in Subreports
Hello,

I have a Report with a SubReport in DetailBand.
In this SubReport, i loaded a Report wich have one group (Reset page Number
= true, Start NewPage = true) with two components, one for PageNo and the
other for PageCount.
I have chossen for this Report, and SubReport, PassSettings = TwoPass.
But when i print, the page Number didn't work correctly , i obtain :
'Page 1/1' on the first page and 'Page 2/2' on the last page.

How can i do ?

Thank's

Val?rie.

Comments

  • edited November 2005
    Hi Valerie,

    Which version of ReportBuilder are you using? Is there any other event code
    present than could be altering the pagination properties of the report or
    subreport? Be sure you have your main report set to TwoPass. Also try
    toggling the ResetPageNumber property of the subreport and see what the
    results look like.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited November 2005
    I have RB 9.03.
    There's any event code for this.
    I resolved my problem by setting my SubReport in pbSection instead of
    pbChild.
    is it correct ?

  • edited November 2005
    Hi Valerie,

    Yes, if section subreports give you the proper effect, they are the ones to
    use.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited August 2006
    In article <438c631c$1@dm500.>, "Nico Cizik \(Digital Metaphors\)"
  • edited August 2006
    Hi,

    Be sure you have your main report's PassSetting property set to psTwoPass.
    Are you loading a template? If so, you will need to be sure the template
    was saved with this property set to psTwoPass or that you are setting it in
    the Template.OnLoadEnd event.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.