Report Design
 Crystal Reports Forum : Crystal Reports .NET 2003 : Report Design
Message Icon Topic: New page after n records in subreport Post Reply Post New Topic
Author Message
DTSJR
Newbie
Newbie


Joined: 27 Sep 2010
Location: United States
Online Status: Offline
Posts: 1
Quote DTSJR Replybullet Topic: New page after n records in subreport
    Posted: 27 Sep 2010 at 4:50am
How can I get it so after 5 records in a subreport it creates a new main report page and continues onto the next 5 records?
Thanks.

Dan
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 13 Oct 2010 at 3:36am
I don't know, but have you tried a counter in the subreport, and then in section expert, use the counter to force a new page in the x-1 button?  Something like:
 
shared numbervar iCount;
local booleanvar bNew := (iCount > 4);
if bNew Then iCount := 0;
bNew
 
in the details:
shared numbervar iCount := iCount + 1;
 
HTH
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.016 seconds.