If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

How to Remove ? page number from HTML Page

Started by Gyana.Sahoo, 09 Dec 2011 01:58:23 AM

Previous topic - Next topic

Gyana.Sahoo

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

blom0344

#1
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..

shricognos

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.

blom0344

Not a Cognos issue, but the way HTML pages work. If you want to make the most of it (including great formatting) use PDf 

MFGF

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.
Meep!

dipu.francis

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

blom0344

That does not fix the Original issue as posted by the OP. And you do realize this thread is a bit stale?   ;D