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
Joined: 21 Dec 2007
Online Status: Offline
Posts: 4374
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.
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