Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Separated Post Reply Post New Topic
Author Message
Wosp
Groupie
Groupie
Avatar

Joined: 05 Sep 2012
Location: Sweden
Online Status: Offline
Posts: 45
Quote Wosp Replybullet Topic: Separated
     Posted: 29 Sep 2014 at 2:13am
Got a list of workorders that looks like this:

Page header:       Workorder no    Placement
                          Plan no             Interval
---------------------------------------------------
Group head. A      35662              Building 3
Group Head. B      1455               12 Weeks


At the end of report I can get G-head A on page 1
and G-head B on page 2.
How do I do to always get them together on page 2 if theres no space left to display them both on page 1?

IP IP Logged
z9962
Senior Member
Senior Member
Avatar

Joined: 04 Jul 2012
Online Status: Offline
Posts: 161
Quote z9962 Replybullet Posted: 29 Sep 2014 at 2:50am
on GH1 go to the change group option
select the options tab
Tick the box Keep group together
 
If group 1 or 2 splits accross 2 pages ten it will move the whole group to the next page.
IP IP Logged
Wosp
Groupie
Groupie
Avatar

Joined: 05 Sep 2012
Location: Sweden
Online Status: Offline
Posts: 45
Quote Wosp Replybullet Posted: 29 Sep 2014 at 7:12pm
No, didn't work.
Here is a pic of the report. it is GH1a and GH1b that should be together

IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 30 Sep 2014 at 3:02am
z9962 was accurate. In the section expert, select the group 1 section (not the group1a or group1b) and set the 'keep section together' as true. This will try to keep all of group1  headers on the same page. If the combination of these headers is too large to fit on a page at all it will ignore the rule. It is only applying the keep togther to the header sections, not the entire group. That is handled in the group expert.
Another trick if the headers do not grow,
1. create another group header 1a (move the existing ones to b and c)
2. make its height as large as the other two combined
3. set it to keep together =true
4. set it to 'underlay following sections' = true
IP IP Logged
Wosp
Groupie
Groupie
Avatar

Joined: 05 Sep 2012
Location: Sweden
Online Status: Offline
Posts: 45
Quote Wosp Replybullet Posted: 30 Sep 2014 at 3:56am
Thank you both, now it works. in section expert I saw the GH1, I rightklicked on GH1a and selected Change group and this did not affect the GH1 only GH1a/b.
My bad...Big thanks!
IP IP Logged
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