Report containing subreports starts with blank page
Hi,
I have a report which is structured like this.
Title Band
GroupHeader[0]
Detail
GroupFooter[0]
Footer
In the group footer I have one or more multi page subreports who's print
behaviour is set to pbSection.
The problem is that even if I have nothing in the Title, footer and detail
bands (spHeight = 0, phDynamic) There is a blank page (Page 1) before the
first page of my subreport prints. Can you help me loose the blank page?
Sometimes the user may have information which is printed in the title band,
so if possible I don't want to loose the title and footer bands completely.
Thanks in advance
Susie
I have a report which is structured like this.
Title Band
GroupHeader[0]
Detail
GroupFooter[0]
Footer
In the group footer I have one or more multi page subreports who's print
behaviour is set to pbSection.
The problem is that even if I have nothing in the Title, footer and detail
bands (spHeight = 0, phDynamic) There is a blank page (Page 1) before the
first page of my subreport prints. Can you help me loose the blank page?
Sometimes the user may have information which is printed in the title band,
so if possible I don't want to loose the title and footer bands completely.
Thanks in advance
Susie
This discussion has been closed.
Comments
Section Style subreports are designed to be placed in the detail band of a
main report in order to merge two existing reports into one print job. By
definition, a section subreport will start a new page when it is encountered
by the report engine. I would suggest either dynamically disabling the
Title and footer bands if they are empty and moving the section subreports
to the empty detail band, or trying to use Child Subreports as an
alternative.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Thanks for your response. As a test I've deleted the title and footer bands
just leaving the group bands and the empty detail band.
If I put the subreports in the detail band they simply don't show at all.
There was a reason why the sub reports were placed in the group footer,
unfortunately I can't quite remember what it was - something to do with
graphs and pagination I should imagine. I remember that you gave me a lot
of advice when I originally wrote the system early last year which was much
appreciated so maybe you know of a common problem to which group header or
footers are the solution.
It's definitely the detail band which is still causing the blank page. Is
there any way of suppressing it?
What do I search for in the help to find ChildSubReports?
Thanks for your help
Susie
I cannot think if a reason a section style subreport would not print at all
when placed in the detail band of your main report. If possible, please
send a small example I can run on my machine that demonstrates this behavior
in .zip format to support@digital-metaphors.com and I'll take a look at it
for you.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com