Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8967707
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T17:18:20+00:00 2026-06-15T17:18:20+00:00

Please consider this custom report: I want to generate that page number automatically on

  • 0

Please consider this custom report:

report layout

I want to generate that page number automatically on all pages. I have some landscape pages. I want to place the page number in the footer, but I have problem with this in landscape reports because footer in landscape reports place in bottom of the page not in right of the page so I should place page number in body section.

How I can place a page number in the body section?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T17:18:21+00:00Added an answer on June 15, 2026 at 5:18 pm

    Use this: Access Page number in report body In SSRS

    Or this: http://social.msdn.microsoft.com/forums/en-US/tfsreporting/thread/b901c9b4-320e-4fbc-afa9-495d5566c168/

    You just need to create custom code for the report and then reference that code where you want (referenced from the second link):

    With the Data or Layout tab view active select “Report” -> “Report Properties”
    On the “Report Properties” dialog select the “Code” tab
    In “Custom code:” add the new Functions to get the page numbers:

    Public Function PageNumber() as String
         Dim str as String
         str = Me.Report.Globals!PageNumber.ToString()
         Return str
    End Function
    
    Public Function TotalPages() as String
         Dim str as String
         str = Me.Report.Globals!TotalPages.ToString()
         Return str
    End Function
    

    Use it like:

    ="Page " + Code.PageNumber() + " of " + Code.TotalPages()
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

please consider this scenario: we have two web page. a simple page that contains
Please consider this scenario: I have a web site that host behind IIS 7.0
i have trouble with building some projects. please consider this scenario: i have 2
please consider this codes: I have a table like this: <table class=ArrowNav cellspacing=0 rules=all
please consider this table: PK_Id Number Year Month Value ------------------------------------------------------------------------- 1 1 2000 5
Please Consider this scenario: We have a base class called clsMain : class clsMain
please consider this image: I have a table like this: Age Active Men/Women -------------------------------------------------
I have this custom string copy function and I've noticed that the *dest argument
please consider this scenario: I have a list of a class with about 50
please consider this scenario: I have data like this : Id Group Value -----------------------------------

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.