Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Blogs / NAV Supports / PageNumber & TotalPages...

PageNumber & TotalPages in Dynamics NAV Report Layout

ShanAbeywicrema Profile Picture ShanAbeywicrema 940

Have you ever struggled how to get page number & total pages in body section ?

Here is the solution that  might help for you. We can implement this by introducing new two functions in RDLC. Then you need to call these functions in the body area.

See the screen-shot bellow to get an idea.

Report Properties

Snap.01

Use bellow functions for PageNumber & TotalPages. You can call these functions in body section (Code.PageNumber() or Code.TotalPages()).

Public Function PageNumber() as String
Return Me.Report.Globals!PageNumber.ToString()
End Function

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

 

The post PageNumber & TotalPages in Dynamics NAV Report Layout appeared first on www.navsupports.com.


This was originally posted here.

Comments

*This post is locked for comments