Link to home
Create AccountLog in
Avatar of nicecats
nicecatsFlag for United Kingdom of Great Britain and Northern Ireland

asked on

SQL Server 2008 R2 Reporting Services export to word pages numbers always 1

Hi All,

I'm having a perplexing problem with SQL Server 2008 R2 Reporting Services. I have a report with a page number in the footer which when rendered in PDF or on the screen it numbers correctly, however when rendered in Word or Excel the page numbers are all 1 regardless of what page it is. Does anyone know what we need to do to get the correct page numbers.

Any help in solving this would be appreciated.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Nico Bontenbal
Nico Bontenbal
Flag of Netherlands image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of nicecats

ASKER

Thanks Nicobo, you put me on the right track. I've solved it the problem is it looks like you cannot cast the page number to a string as here

="Page " +Globals!PageNumber.ToString()

Now i've used just = Globals!PageNumber and the numbers are coming up.

Thanks for the help