Home » Developer & Programmer » Reports & Discoverer » Having 2 different pages counter in one report (Oracle Reports 6i)
Having 2 different pages counter in one report [message #360297] Thu, 20 November 2008 05:52 Go to next message
pjsantos
Messages: 3
Registered: June 2005
Location: Portugal
Junior Member
Hi,

I'm doing an invoice report that has 2 sections head and detail.

Both header and detail may have more than one page, but between both sections page counts must be restarted.

E.g.:
Header pag. 1 of 2
Header pag. 2 of 2

Detail pag. 1 of 3
Detail pag. 2 of 3
Detail pag. 3 of 3

Does any one know a way to do this?

That’s for the help,
Pedro.
Re: Having 2 different pages counter in one report [message #360496 is a reply to message #360297] Fri, 21 November 2008 03:07 Go to previous messageGo to next message
spmano1983
Messages: 269
Registered: September 2007
Senior Member
Page counter means, when detail section comes page number should start from 1? please explain detail.
Re: Having 2 different pages counter in one report [message #360513 is a reply to message #360496] Fri, 21 November 2008 04:28 Go to previous message
pjsantos
Messages: 3
Registered: June 2005
Location: Portugal
Junior Member
Hi,

That’s precisely what I want.

Basically, the objective is to have 2 independent documents in one report.

I’m using 2 repeating frames one for the Header and one for the Detail, having a page break between both frames.

So my goal is to reset page number counter at each page break.

Something like this:

Header pag. 1 of 2
Header pag. 2 of 2

-------- pag. Break --------
Detail pag. 1 of 3
Detail pag. 2 of 3
Detail pag. 3 of 3

-------- pag. Break --------
Header pag. 1 of 1

-------- pag. Break --------
Detail pag. 1 of 2
Detail pag. 2 of 2

That’s for the help,
Pedro
Previous Topic: Sending Report Directly to Printer
Next Topic: CHAR field alignment
Goto Forum:
  


Current Time: Sun Dec 11 08:01:29 CST 2016

Total time taken to generate the page: 0.09059 seconds