Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Report Design
Message Icon Topic: New page in group Post Reply Post New Topic
Author Message
bembi
Newbie
Newbie


Joined: 15 Mar 2010
Online Status: Offline
Posts: 5
Quote bembi Replybullet Topic: New page in group
    Posted: 16 Mar 2010 at 5:33am

Hello,

we use Crystal Reports 9. I have the following structure in my report:

    * Group
          o Subgroup
                + Entry in Subgroup
                + Entry in Subgroup
                + Entry in Subgroup

If the page end is reached in this constellation the following can happen: The whole groups moves to the next page. Or the group gets split up anywhere.

I don't want either! I DON'T want this:

    * Group
          o Subgroup
    *******new page*******
                + Entry in Subgroup
                + Entry in Subgroup
                + Entry in Subgroup


But I do want that:

    * Group
          o Subgroup
                + Entry in Subgroup
    *******new page*******
                + Entry in Subgroup
                + Entry in Subgroup

I want to split up the group only if at least one entry in the sub group fits to the current page. Is that possible to do?

If it isn't possible in CR9 I would even get CR2008.

Please help
Juergen

IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 17 Mar 2010 at 3:15am
I don't have experience with CR2008, but page breaks are difficult in CR XI since the BEST you can do is count lines.  Complex rules like you have defined MIGHT be done in a formula, but in all honesty, I wouldn't like to be tasked with it. There are too many variables the CR is poor about reporting on.  For instance, if a row has Can Grow, you don't know how many lines it is one...you would need to count characters and if you use a TT font, good luck.  You would need know the number of lines printed (or the height of the sections and the count) to have a guess of where you are on the page, then you would need to know how many lines are in the group/subgroup and how many have been printed to be able to know when to tell CR that you would like a page break.
 
Good luck!
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.