Keeping contents of a sub-report on one page

  • Thread starter Thread starter Dave Stuart
  • Start date Start date
D

Dave Stuart

I have a sub-report which looks quite ugly if half is on one page and half
is on the following page.

However I only want to force the sub-report onto a new page if there isn't
enough room left on the existing page for it all to fit.

Thanks is advance for anybody who can help me on this one.
 
Dave said:
I have a sub-report which looks quite ugly if half is on one page and half
is on the following page.

However I only want to force the sub-report onto a new page if there isn't
enough room left on the existing page for it all to fit.


A tricky way to do this way to do this is to add a level to
the bottom of the Sorting and Grouping. Base it on a
constant expression such as =1 and set the header and/or
footer to Yes. Then move the subreport to the header or
footer and set the header/footer's KeepTogether property to
Yes.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top