multi page - numbering
Hi
I have a report template that contains about 10 subreports. Some of these
subreports, contain additional subreports.
I am trying to insert page numbering that will work across the whole report.
I have tried creating a footer on the first page that contains all the
subreports and putting the variabke there. This didn't work, so I then
tried on each subreport, this prints nothing either.
I am sure the printed report is awar of the pages numbers because when
viewed in preview, page numbers are in the status bar.
I am going about this the wrong way ?
Thanks
Andy Dyble
I have a report template that contains about 10 subreports. Some of these
subreports, contain additional subreports.
I am trying to insert page numbering that will work across the whole report.
I have tried creating a footer on the first page that contains all the
subreports and putting the variabke there. This didn't work, so I then
tried on each subreport, this prints nothing either.
I am sure the printed report is awar of the pages numbers because when
viewed in preview, page numbers are in the status bar.
I am going about this the wrong way ?
Thanks
Andy Dyble
This discussion has been closed.
Comments
The footer band of the main report will show up on every page unless you are
using Section style subreports. In this case you will need to add a footer
band to the section subreports and place a system variable inside them as
well. Then be sure to set the Subreport.ResetPageNo to False.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Take a look at demo 51 located in the \RBuilder\Demos\1. Reports\...
directory. This shows a report with multiple section subreports including a
page count. If you open this unit (dm0051.pas) set the report to TwoPass
and set the first subreport's ResetPageNo property to True, you will see
every page counted from the beginning.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
This example works but ours doesn;t. I can show you the problem if you
download :
http://www.midsoft.com/downloads/tascsetup.exe
the layout is under surveys, survey tab, Print. There should be a layout
button, if not, the template is under {app}\layouts\survey\main.rtm
Thanks
Andy
I'm not sure how your report got in its current state however if you remove
the footer band from each subreport, then re-add it along with a System
Variable, they seem to show up fine. I'm not entirely sure why this has
happened, the template could have been corrupted at some point or you could
have designed the footer band before changing the subreport style to Section
perhaps?
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com