web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

how to make a page number in body in ssrs report

(0) ShareShare
ReportReport
Posted on by

Hi ,

I need to set page number in body of the ssrs design, how to do that

pickingdesign.PNG

I need page number like mentioned in header('current page number' of 'totalpage number')

anyone give some idea.

Thanks.

I have the same question (0)
  • Suggested answer
    Sukrut Parab Profile Picture
    71,710 Moderator on at

    Did you try using fields from built in fields section from the designer ? take a look at fields pageNumber and OverallPageNumber.

    pagenumber.PNG

  • Suggested answer
    vinitgoyal2005 Profile Picture
    6,332 on at

    Hi Ashok,

    You can use the below expression:

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

    pastedimage1596654223905v1.png

  • Blue Wang Profile Picture
    on at

    HI Ashokkumar Murugesan,

    Global!pageNumber cannot be used outside the header and footer.

    280602.PNG

    If you change the requirement to use in the header and footer, it is very simple.

    Besides that, You need to calculate by other methods, such as the height of the report, the width of the cell, and the limited number of rows displayed on each page,etc.

  • Community Member Profile Picture
    on at

    Hi blue,

    Is any possible to access the textbox in design from Dp class.

    If it is possible I will achieve my requirement.

    Thanks.

  • Community Member Profile Picture
    on at

    Hi Sukrit,

    Is any other possible solution there for that, from x++

  • udaY-ch Profile Picture
    5,133 on at

    Hi

    By default, it is not possible to bring the page number in the body using built in functions. DP Class cannot help us here. 

    You can try as this article says,

    stackoverflow.com/.../how-to-display-page-number-in-report-body-of-ssrs-2008-r2

    (I haven't tried).

    Uday

  • Community Member Profile Picture
    on at

    Hi udhaya,

    Thanks for this, where will i write code for this,

    In Your mentioned document is says like report-->reportproperty-->code,

    give some idea for it, Write code for where

  • udaY-ch Profile Picture
    5,133 on at

    hi,

    Right click in the report design and select report properties.

    report-code.png

    Uday.

  • Community Member Profile Picture
    on at

    Thanks for your support

  • Community Member Profile Picture
    on at

    Hi Udaya,

    I have tried this but this only for show not working properly,

    Are any other solutions are there?

    page-error.PNG

    Thanks.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 551 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 450 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 278 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans