Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

Total Pages Incorrect when printing but correct on Report Server and in Visual Studio

$
0
0

I have run into a problem with page numbers.  Two different problems as a matter of fact.  Recently upgraded from SQL 2008 to SQL 2008 R2.  All of our reports that used Globals!TotalPages started printing "0" on all pages when printed (but displayed correctly in Visual Studio preview and when running the report via IE).  To get around this for now I am using Globals!OverallTotalPages because that prints correctly.

The other issue has to do specificially with Globals!PageNumber and Globals!TotalPages.  On a report I am utilizing R2's new ability to reset page count when groups change.  This feature works beautifully, most of the time.  But for some records, seemingly randomly, I am getting incorrect numbers ONLY when printing.  It will say, "1 of 3", "2 of 3", "3 of 3"...but then what should have been a 4th page will show up as "1 of 1".  It doesn't do this all the time, and as I said ONLY happens when printed.  On screen in Visual studio and IE the numbers are 100% accurate.

Server: SQL Server 2008 R2 on Windows 2008 SP1 64bit

Client: Various 64bit, 32bit, XP, Vista, and 7.  IE 8.


Viewing all articles
Browse latest Browse all 10045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>