Hi,
While I ran a report in HTML, If i click on Page down the page number is showing correctly but while i click on Bottom the Page number Shows '?' mark.
But in PDF and EXCEL i am getting the correct page number.
It is a HTML issue or is ther any way to over come this .
Please guide me.
Thanks
HTML is generated page for page, which means Cognos will not know in advance how many pages will follow, hence the ? Unfortunately the average user has no clue and our customers keep wondering why the ? is displayed
You can alway modify the report expression to avoid displaying the total number of pages..
It is Cognos drawback. No one Overcome this.
But, if u save and schedule the report, then u can see all page numbers(even u directly click on "BUTTOM" ) through cognos connection.
Not a Cognos issue, but the way HTML pages work. If you want to make the most of it (including great formatting) use PDf
Quote from: shrikanth on 09 Dec 2011 02:51:23 AM
It is Cognos drawback. No one Overcome this.
But, if u save and schedule the report, then u can see all page numbers(even u directly click on "BUTTOM" ) through cognos connection.
It is not a fault - it is entirely by design. As Blom says, when rendering a report interactively as HTML, each page is created and rendered individually, to give you the best possible performance. If you skip straight to the last page it will do exactly as you ask - and not render the other pages in between, therefore making a page count an unknown quantity. When reports are rendered as any other output, all the pages are rendered on one go, and you end up with one long output which you can scroll through, but of course you have to wait much longer for it to render all the pages and return them in one go.
An alternative is to run reports and save the output. Once this has been done, even as HTML you end up with every page rendered (along with page numbers). Your users can then simply view the saved output.
Regards,
MF.
You can easily fix this by using a conditional block and conditionally rendering by a block variable with a Boolean expression like this
ReportOutput ()='PDF'
OR
ReportOutput ()='spreadsheetML'
OR
ReportOutput ()='CSV'
for value YES(PDF or excel) put page Number Style 1 of 3
and for value NO(Html) put page Number Style 1
That does not fix the Original issue as posted by the OP. And you do realize this thread is a bit stale? ;D