SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

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

Praz
Starting Member

9 Posts

Posted - 08/16/2013 :  18:04:01  Show Profile  Reply with Quote
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

India
52320 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
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page
  Previous Topic Topic Next Topic  
 New 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