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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Total Pages Reset for each DocumentNo in SQL Server Report Builder

(0) ShareShare
ReportReport
Posted on by 10

Hi mates:

I want to implement the possibility of reseting the page number and the total pages for each DocumentNo in my report of Sales Invoice. I found the functionality to reset de "Page Number" field in this article: https://docs.microsoft.com/en-us/dynamics-nav/how-to--reset-report-page-numbers. The fact is that it works only if I put in a textfield the PageNumber alone (I'm placing this fields in the header for client's purpose). Instead, if I use the same function changing the "Globals!PageNumber.Value" to "Globals!TotalPages.Value" in another textfield next to the other any of them works. It reads all time the value 1.

Have you needed to do the same? Anyone knows how to do it?

PD: I tried before to do only the same as the standard, to use de getdata and setdata but does not works for me in that case of Page Number.

 

I have the same question (0)
  • Suggested answer
    Andy Sather Profile Picture
    Microsoft Employee on at

    Hello  - We currently do not have dedicated Dev support via the Dynamics 365 Business Central forums, but I wanted to provide you some additional resources to assist.  If you need assistance with debugging or coding I would recommend discussing this on one of our communities.

    www.yammer.com/dynamicsnavdev

    dynamicsuser.net/.../developers

    I will open this up to the community in case they have something to add.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 580 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 480 Super User 2026 Season 1

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 261 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans