Article ID: 2620333 - Last Review: October 17, 2011 - Revision: 1.0 FIX: Globals.TotalPages variable returns an incorrect value in a SSRS 2008 R2 report
On This PageMicrosoft distributes Microsoft SQL Server 2008 R2 Service Pack 1 (SP1) fixes as one downloadable file. Because the fixes are cumulative, each new release contains all the hotfixes and all the security updates that were included with the previous SQL Server 2008 R2 Service Pack 1 (SP1) update release. SYMPTOMSWhen you use the Globals.TotalPages variable to show the total number of pages in a Microsoft SQL Server 2008 R2 Reporting Services report, the variable might return an incorrect value on the last page of the report. For example, you use the following expression in the page footer of a report that has 12 pages to show the current page number and the total number of pages: 12 of 14 RESOLUTIONCumulative update informationCumulative update package 3 for SQL Server 2008 R2 SP1The fix for this issue was first released in cumulative update package 3. For more information about how to obtain this cumulative update package for SQL Server 2008 R2 SP1, click the following article number to view the article in the Microsoft Knowledge Base:2591748
(http://support.microsoft.com/kb/2591748/
)
Cumulative update package 3 for SQL Server 2008 R2 SP1 Note Because the builds are cumulative, each new update release contains all the hotfixes and all the security updates that were included with the previous SQL Server 2008 R2 SP1 update release. We recommend that you consider applying the most recent update release that contains this hotfix. For more information, click the following article number to view the article in the Microsoft Knowledge Base:2567616
(http://support.microsoft.com/kb/2567616/
)
The SQL Server 2008 R2 builds that were released after SQL Server 2008 R2 SP1 was released MORE INFORMATIONFor more information about global collections for Microsoft Visual Studio Report Designer expressions that are used in reports, visit the following MSDN website: General information about global collections
(http://msdn.microsoft.com/en-us/library/ms251716(v=VS.90).aspx)
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. | Other Resources Other Support Sites
CommunityArticle Translations
|






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email
Back to the top