Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Report Design
Message Icon Topic: Keeping groups together Post Reply Post New Topic
Author Message
yggdrasil
Senior Member
Senior Member
Avatar

Joined: 19 Jun 2007
Location: United Kingdom
Online Status: Offline
Posts: 150
Quote yggdrasil Replybullet Topic: Keeping groups together
    Posted: 11 Jul 2007 at 4:25am

Maybe a silly question, but is there a way of starting a new page with a group header, but not after every group?

I have a report with  groups: GH,D,D.D,GF, GH,D,D,GF and so on.  (GF is usually empty).  Depending on the number of detail records, maybe four or five will fit on a page. I would like to keep each group together on a page, ie start a new page with a group header.  But all the methods I have tried either put only one group on a page, which wastes paper, or don't work at all.   I mostly want to avoid the group header being at the bottom of a page isolated from the details.  I have 'Keep together' ticked

IP IP Logged
foxy
Groupie
Groupie
Avatar

Joined: 12 Jul 2007
Online Status: Offline
Posts: 50
Quote foxy Replybullet Posted: 12 Jul 2007 at 2:40am
I think if you go into the 'section expert', select the group footer & make sure that the 'new page after' option is ticked. I think that is what you are after.
IP IP Logged
yggdrasil
Senior Member
Senior Member
Avatar

Joined: 19 Jun 2007
Location: United Kingdom
Online Status: Offline
Posts: 150
Quote yggdrasil Replybullet Posted: 12 Jul 2007 at 7:53am
Nope, that puts each group on a new page. That is what I don't want. I want as many whole groups as I can get on a page.
IP IP Logged
foxy
Groupie
Groupie
Avatar

Joined: 12 Jul 2007
Online Status: Offline
Posts: 50
Quote foxy Replybullet Posted: 12 Jul 2007 at 8:09am
Ah rite, should have read the post properly! apologies. I'll see what i can find out
IP IP Logged
yggdrasil
Senior Member
Senior Member
Avatar

Joined: 19 Jun 2007
Location: United Kingdom
Online Status: Offline
Posts: 150
Quote yggdrasil Replybullet Posted: 20 Jul 2007 at 6:32am
Still hoping for enlightenmentConfused
IP IP Logged
BrianBischof
Admin Group
Admin Group
Avatar

Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Quote BrianBischof Replybullet Posted: 20 Jul 2007 at 8:15am
CR uses the rule that if you set a GH to be 'Keep Together' then it tries to print the entire group on the remaining portion of the page. But if it sees that the whole group can't fit on the page, then it will start printing at the top of the next page. Thus, small groups can usually be squeezed into the bottom of a page, and CR will do it whenever possible. Large groups that require more than one page automatically get their own page no matter how much empty space is left on the previous page because they can never completely fit at the bottom of the previous page. That is the best CR can do. It doesn't have a rule that says "Only start a new page if less than 25% white space is left." or anything like that.
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>
IP IP Logged
yggdrasil
Senior Member
Senior Member
Avatar

Joined: 19 Jun 2007
Location: United Kingdom
Online Status: Offline
Posts: 150
Quote yggdrasil Replybullet Posted: 24 Jul 2007 at 4:24am
I thought that was what should happen. I do have the GHs set to 'Keep Together', but the report still splits them. Is there maybe an option I have set wrongly somewhere that is overriding the default?
IP IP Logged
jax200
Newbie
Newbie
Avatar

Joined: 26 Jul 2007
Location: South Africa
Online Status: Offline
Posts: 1
Quote jax200 Replybullet Posted: 26 Jul 2007 at 5:07am
Right-click Group Header in Design.
Go to Change Group and select Options tab and select "Keep group Together".
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
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



This page was generated in 0.031 seconds.