Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 Analysis Server and Reporting Services (2008)
 PageNumber and Page Total Error!!!
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

9 Posts

Posted - 08/16/2013 :  18:04:01  Show Profile  Reply with Quote

In my report i am using the global variable to display the "Total Pages" and "Page Number" in the Page Footer.

The Expression i use is,

="Page " & Globals!PageNumber & " of " & Globals!TotalPages

It works perfectly fine when executed as a standalone report in SSRS. I have integrated this SSRS report to a dot net application, and when i execute the report using dot net application i get "#Error". The Page information is not displayed at all.

Any help is appreciated!!


Very Important crosS Applying yaK Herder

52326 Posts

Posted - 08/18/2013 :  04:35:16  Show Profile  Reply with Quote
you can use it inside .NET page. it works only in default viewer. For .NET page you need to write a counter logic to count pages and show the value by adding a textbox in page footer

SQL Server MVP
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000