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

 All Forums
 SQL Server 2008 Forums
 Analysis Server and Reporting Services (2008)
 PageNumber and Page Total Error!!!

Author  Topic 

Praz
Starting Member

9 Posts

Posted - 2013-08-16 : 18:04:01
Hi,

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!!

Regards
Praz

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2013-08-18 : 04:35:16
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
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page
   

- Advertisement -