Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Crystal Reports - keep together

Hopefully this is simple enough that someone can help. I have a simple row oriented report. The problem I have is the Keep together command is chosen on the detail lines, but sometimes the detail lines will go over to the next page. There are usually 4 or 5 detail lines before the next group starts.

If there are more detail lines than will fit on the page, what I want it to do is a page break and start over showing the group header #1 (simple report with one group) and then start printing the details again.

So, what would the necessary formula be to keep the detail lines together? Why doesn't keep together keep together?

like image 250
Paul Avatar asked Dec 16 '22 02:12

Paul


2 Answers

It sounds like you want to select Keep Together on the group, not the details section. (Group Expert -> select your group and hit 'Options' -> 'Options' tab -> select 'Keep Group Together'). Selecting Keep Together on the Details section only causes that single row to not be split up (this is the default behavior, as far as I know).

I'm not 100% off the top of my head, but if there are more details than will fit on the page I think it will behave as you want; page breaking before the group starts and then continuing onto a second page.

like image 121
Ryan Avatar answered Dec 18 '22 15:12

Ryan


I guess you marked Keep Together on each Details section, which keeps each section from spliting not all of them.

Try checking it on Details general section in Section Expert. Check this screen shot to see how:

See here

like image 21
timon2611 Avatar answered Dec 18 '22 14:12

timon2611