Sub Report Page Number
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.
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.
This discussion has been closed.
Comments
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
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
There's any event code for this.
I resolved my problem by setting my SubReport in pbSection instead of
pbChild.
is it correct ?
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
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
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
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com