Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Resetting Page Numbering Post Reply Post New Topic
Author Message
herder0405
Newbie
Newbie


Joined: 16 Sep 2011
Location: India
Online Status: Offline
Posts: 4
Quote herder0405 Replybullet Topic: Resetting Page Numbering
     Posted: 21 Sep 2011 at 8:05am

Hai,
I am having a report with subreport, the subreport records goes more than 1 page, so that I want to print the page number in the page header section in the main report as 1 in the first page, and in the next subsequent pages as 1-1, 1-2, 1-3, ie the subreport goes to 3 pages, when subreport changes the page number starts with 2 and in next subsequent pages as 2-1, 2-2, 2-3, 2-4..., I don't have any group section.
regards

IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4374
Quote lockwelle Replybullet Posted: 21 Sep 2011 at 8:10am
it would seem that you would want to implement your own page number and not use CR's.
 
A shared variable on the main report that is incremented every time there is new page (probably in the page header...even if it is suppress). Then in your subreport you could utilize the shared variable and the subreports page counter to format your custom page number.
 
HTH
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