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

Concatenate PageNumber and PageCount

Started by ADW, 22 Oct 2007 03:54:54 PM

Previous topic - Next topic

ADW

I am trying to concatenate the report page numbers with the page count; however, I keep receiving this error "Parsing error on or around position 12 in the expression: 'PageNumber()||PageCount()'  ".  I have tried to use the CAST function with this expression and still receive errors. Can anyone provide some assistance on this issue? Can this be done?

COGNOiSe administrator

If their only purpose is to be displayed, then just put them separately on the report.

ADW

Humm, you'd think that would be something that everyone would want to see. Thanks!

COGNOiSe administrator

Fair enough ... did you try number2string(PageNumber()) + number2string(PageCount()) but that might be actually a Cognos 8 report function.

ADW

No, I didn't try that!!  :o I'm new to the application and learning all the time. I will give it a shot and see.

COGNOiSe administrator

In Cognos 8, the function is available in the report functions tree node.