Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: New Pages - different data Post Reply Post New Topic
Author Message
Central
Groupie
Groupie


Joined: 16 Feb 2011
Online Status: Offline
Posts: 56
Quote Central Replybullet Topic: New Pages - different data
     Posted: 21 Jan 2014 at 5:20am
Hi,
 
I am writing a report that when it reaches say 30 records then moves to another page. I want the report as follows
 
On Page 1
 
Street
Town
 
Street
Street
 
On Page 2 etc
Street
Town
 
Street
Street
 
I have said in crystal reports when records equal 30 then new page but I sometimes get
 
On Page 1
Street
Town
Street
Street
On Page 2 etc
Street
Street
Street
 
Only say 3 records on page 2 then Page 3 as usual
 
Street
Town
 
Street
 
What is the best way to code this or how can this be done?
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 21 Jan 2014 at 6:55am
what are you defining as a record and how did you use that definition in your new page after formula?
are you suppressing records and are those being excluded from your record count?
IP IP Logged
Central
Groupie
Groupie


Joined: 16 Feb 2011
Online Status: Offline
Posts: 56
Quote Central Replybullet Posted: 21 Jan 2014 at 10:32pm
Thanks for getting back.
If it is a new page then the town will appear after the street.
 
If it is a new street then the town will be be displayed so this can appear on the same page. 
 
An example would be as follows
 
Page 1
High Street
Manchester
 
High Street
High Street
 
Main Street
Leeds
 
Main Street
Main Street
 
Page 2
Main Street
Leeds
 
Main Street 
 
I am getting the records from an view from a database connection. 
 
Hope this helps.
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