COGNOiSe.com - The IBM Cognos Community

Legacy Business Intelligence => COGNOS ReportNet => Topic started by: kapil on 03 Nov 2005 05:10:48 AM

Title: [Closed] setting page number
Post by: kapil on 03 Nov 2005 05:10:48 AM
Hi
can i have someting like "Page 1 of 20"Ã,  or "Page 20 of 20" in my HTML pages.
my senior told me pagecount() does not work in reportNet, this is a bug in report net. is it so?

if it can be done then pls suggest how?
Title: Re: setting page number
Post by: wink on 03 Nov 2005 05:30:32 AM
If you used the search option you would have found the answer already..... It isn't a bug: RpeortNet cursors the DB... in HTML de resultset is retrieved part by part.... that's the reason why a '?' shows up on the last page or why it isn't possible to get the total numbers of pages...... However, you could have a go at a calculation which tells you the number of lines from the resultset. Having a fixed number of lines per pages you are able to calculate the total number of pages...... Maybe next time ask you 'senior' also 'Why.... ?' when he tells you something isn't working...  ;)

Regards, vincent
Title: Re: setting page number
Post by: BIsrik on 10 Nov 2005 05:57:50 AM
i think u had posted the same topic earlier...plz check that...

Srik