I have a report which consists of a list item, in which is a rectangle containing a header (as a subreport, but I think that's not relevant) and a subreport. The aforementioned rectangle is specified to include a pagebreak after each occurrence, but that pagebreak is not working as expected.
When I run the report I get 1 subreport on the first page, and exactly two on each subsequent page. Other than the pagination, I am getting very close to what I want. It's too bad that the subreport's pagination is ignored, but I can live with that for now.
Things I've already tried:
The report's pageSize and interactiveSize are both set to landscape
The subreport's report's pageSize and interactiveSize are both set to the actual size that the subreport takes up on the main report (which is ignored anyway)
The list does not have any of the page break options selected.
Any Ideas?
Are you using any visibility condition for subreport or rectangle?
I am asking this becasue page break is not supported with visibility condition.
|||Thanks for your help.
I have not set any visibility settings away from the default of visible.
|||Maybe it would help if I explained more of what I'm trying to do...
A single report is run from a single id, but there are several ways of selecting that ID, and some ways should result in batches of reports being generated. (for example, a rep may want to run one report to be mailed to each of their clients). Each report should have just one header at the beginning of it.
My report consists of one big list. In the list there are two subreports, one for the header that should be at the top of each report, and one for the body of the report itself. The list uses a query that returns the IDs that should be included in the batch as its dataset. The ID field is passed as one of the report parameters to the body subreport, with the rest of the parameters for the subreport passed straight through.
I put both of the subreports inside a rectangle (inside the list) to try to force the pagebreak.
<Edit: I removed the bit about table headers in the subreport, because that seems to be working>
|||I hate to keep bumping my thread, but I need help figuring this out.
Maybe I am making my process too complicated? Is there another way to do what I'm trying to do that will allow the report server to correct the pagination?
Is there more info I could give that would help find a solution?
No comments:
Post a Comment