Pinned topic HTML Page Number Issue
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
How to display the last page number when the bottom link is clicked in the HTML view in cognos. When we click on bottom it's displaying '?' Instead of last page number. Please suggest me how to over come this.
Updated on 2012-07-05T07:02:50Z at 2012-07-05T07:02:50Z by MohanaKrishnaK
MohanaKrishnaK 270005FG5J2 Posts
Re: HTML Page Number Issue2012-07-05T07:02:50ZThis is the accepted answer. This is the accepted answer.Below Answer is getting from 'Abhishek' who is the writer of Cognos Cook Book.
It's a feature of Cognos that when you click on Bottom link, it doesn't run the whole report. Instead it only pulls data required for last page. This gives improved performance. But then it can't compute how many pages are there in the report and hence shows ?
There is no direct solution for this. In some cases, you can write a calculation to calculate the page number. For example, report shows one line per customer and 20 lines per page, then divide total customer count by 20. But this is not fool proof.
You will be better off telling that it is a design limitation in html output, and when users run report in PDF for printing, all the page numbers will be shown fine.