Joined: 26 Dec 2011
Online Status: Offline
Posts: 3
Topic: Group header Posted: 26 Dec 2011 at 12:55pm
I used GROUP but had an issue of the group header displaying at the bottom of the page without the data. The data shows on the next page. Is there a way to instruct Crystal to not print a header unless it has data to fit and follow on the same page? If not, move the header to the next page.
Joined: 21 Dec 2007
Online Status: Offline
Posts: 4374
Posted: 27 Dec 2011 at 3:18am
right click on the group/change group/second tab/keep together.
This will keep the header with the data (unless the data is too large to fit on one page)...may cause blank sections as the data is being 'pushed' to another page.
you can also count lines, and if the lines are after a certain value, force a page break.
Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Posted: 29 Dec 2011 at 8:36am
Another trick, if you just want to make sure that the header has at least one or two rows of data printed with it before a page break:
add a group header A
Place nothing in
Mark it keep together
Mark it to underlay following sections
Expand it's height to be group header B and 1 or 2 rows of data
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum