Home » Developer & Programmer » Reports & Discoverer » Is there any way to Get Total Pages ?
Is there any way to Get Total Pages ? [message #180579] Tue, 04 July 2006 05:41 Go to next message
samidc
Messages: 35
Registered: February 2006
Member
I want to get The Total Pages in report through my Own code not by Oracle Reports Default.

Is there any Way ?

Thanks
Re: Is there any way to Get Total Pages ? [message #180604 is a reply to message #180579] Tue, 04 July 2006 07:15 Go to previous messageGo to next message
samidc
Messages: 35
Registered: February 2006
Member
Can anybody update on it how to get Total pages in one shot without using Oracle Default parameter .
If its not possible then
Is there any way that i can reference the Total Pages Field for Calculations . How to use that.

Suppose i have one fielkd F_1 with Source "Total Pages".

Now how to refer this field for Calculation.
Actually My requirement is to get the Value of Total Pages in One Variable so that i can do Manipulations.

Please help on it.

Thanks,,
Re: Is there any way to Get Total Pages ? [message #180631 is a reply to message #180604] Tue, 04 July 2006 08:27 Go to previous messageGo to next message
Another Arbitrary Name
Messages: 23
Registered: July 2005
Junior Member

If the supplied parameters are not good enough then you could just add a user parameter and some code to the "between pages" trigger to increment it(?)
Re: Is there any way to Get Total Pages ? [message #180743 is a reply to message #180631] Wed, 05 July 2006 01:57 Go to previous messageGo to next message
samidc
Messages: 35
Registered: February 2006
Member
Sorry but you cant increment or use Output variables in Between Pages TRigger.

And my requirement is to get Total Pages so that i can do manipulations on it and display it to user.


Just like i want to show Total Pages as Total Pages +2. i.e. if total pages are 3 then for display total Pages will come as 5.

Regards,
SaMir.
Re: Is there any way to Get Total Pages ? [message #180781 is a reply to message #180743] Wed, 05 July 2006 04:27 Go to previous messageGo to next message
Maaher
Messages: 7065
Registered: December 2001
Senior Member
If you define a field with a page number source, you can set the page number properties. This means you can define the start point, the reset at and the increment by.

MHE
Re: Is there any way to Get Total Pages ? [message #180840 is a reply to message #180781] Wed, 05 July 2006 08:09 Go to previous message
samidc
Messages: 35
Registered: February 2006
Member
See my requirement is as:


I entered My Page Number from Parameter Form as 3.
And suppose Report ouput in 3 pages .

Thus my report header will show 3/3,4/3,5/3 which is wrong.

I would like to show it as 3/5,4/5,5/5.

This means i need a Report total pages at the Begiinig itself so that i can do manipulatiuons.

Hope u Understand the Prob....
Previous Topic: jre.exec-application error
Next Topic: not print text item
Goto Forum:
  


Current Time: Fri Nov 29 22:30:42 CST 2024