Print Order of SubReports
Hi
I have a report which contains several subreports. the first subreport (a
graph) is pbChild the rest are pbSection. I want to print the graph on the
first page, immediately after the report title band. The rest of the
subreports are tables which should each start on a new page.
The problem is this: When I print my report the graph subreport is always
printed last. despite it being created (dynamically in code) first. I then
have a title and the rest of the page is blank which doesn't look good.
Can anyone help?
Susie
I have a report which contains several subreports. the first subreport (a
graph) is pbChild the rest are pbSection. I want to print the graph on the
first page, immediately after the report title band. The rest of the
subreports are tables which should each start on a new page.
The problem is this: When I print my report the graph subreport is always
printed last. despite it being created (dynamically in code) first. I then
have a title and the rest of the page is blank which doesn't look good.
Can anyone help?
Susie
This discussion has been closed.
Comments
When ReportBuilder sees a section style subreport, it automatically breaks a
page and prints the subreport on a new page. For this reason, it is never a
good idea to place a child subreport and a section subrepor in the same
band. I would suggest creating a group based on a static label and placing
the child subreport inside the group header.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I've done that. I put my graph subreport in the header band and the rest of
the subreports in the group header band grouping on a static label. After a
few initial difficulties, I now have a situation where the graph prints out
on Page 1 as required, the rest of the subreports print OK and then, the
graph prints out again on the last page which is a problem.
Why is this happening. Surely it shouldn't be too big a deal to print out a
number of subreports, once each and in the correct order?
Do you have a different solution to this problem that I can try?
best regards
Susie
Be sure you do not have the "Reprint group headers on subsequent pages"
option checked for your group.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
It's not set. Anything else I can try?
Susie
format to support@digital-metaphors.com and I'll take a look at it for you.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com