Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: group headers and new page after - before Post Reply Post New Topic
Author Message
jay52
Newbie
Newbie


Joined: 17 Jul 2009
Online Status: Offline
Posts: 9
Quote jay52 Replybullet Topic: group headers and new page after - before
     Posted: 07 Feb 2011 at 3:40am
I have a report with two groups.
 
gh1 - state
gh2 - city
 
gf2 - sub total
gf1 - total
 
I am trying to get  a new page after gf2(as long as it isn't the last group) and after gf1. the problem is it then creates a page with nothing but a gf1. I have tried mixing and matching the not onlastrecord option but nothing seems to work. so i have tried
 
gh1
gh2
 
gf2 - new page after not onlastrecord
gf1- new page after
 
 I would think this would have been asked before but couldn't find a posting.
 
thanks for any help.
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4374
Quote lockwelle Replybullet Posted: 07 Feb 2011 at 3:57am
alas, it is doing what you told it to...it is putting a new page after gf2, which puts gf1 on a page by itself.
 
Personally, I like to use new page before on group headers, as the group footers are then free to be on the same page, which seems to be what my clients like to see.
 
HTH
IP IP Logged
jay52
Newbie
Newbie


Joined: 17 Jul 2009
Online Status: Offline
Posts: 9
Quote jay52 Replybullet Posted: 07 Feb 2011 at 4:20am
is there a way to say not on last member of group?
 
the issue is i want to see (assuming there are only two cities in Ohio)
Ohio
  Akron
      detail
  Akron sub total
 
  Cleveland
     detail
   Cleveland sub total
Grand total for Ohio
 
doing it with headers or footers doesn't seem to make a difference... it just
 moves where the blank page is
Ohio
  Akron
      detail
  Akron sub total
 
  Cleveland
     detail
   Cleveland sub total
--blank page --
Grand total for Ohio
 
 
or
 
Ohio
--blank page--
  Akron
      detail
  Akron sub total
 
  Cleveland
     detail
   Cleveland sub total
Grand total for Ohio
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