Jump to content
We've recently updated our Privacy Statement, available here ×

the subreport is missing page number one


patchy_9
Go to solution Solved by narcism,

Recommended Posts

  • 2 weeks later...
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  • Solution

What you are experiencing is the expected behavior given your current reports(main + subreports) designs.

If you were to set a background for each subreport element in the main report(see the attached image: yellow for 1st, purple for 2nd), you would notice that the user2 subreport, at page 2 in the main, would try to fill the remaining space but would not fit completely(but render something - its 1st actual subreport page) and would overflow on the third page of the main, which is actually the second page of the subreport.

To fix this, you need to adjust your main report design like so:

- adjust the second subreport element size to be at least the size of the topMargin(20px) + page header(50px) that you have in user2 subreport, to a total of at least 70px. This should force user2 subreport to overflow completely onto the next page if the engine cannot render at least the margin and the page header in the remaining space.

- optionally, set the detail band to wrap the two subreport elements tightly. The detail band should end right after the second subreport element in order to avoid preserving unnecessary white space

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...