Skip to main content

Notifications

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.

 

  • Suggested answer
    Andy Sather Profile Picture
    on at
    RE: Total Pages Reset for each DocumentNo in SQL Server Report Builder

    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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

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

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 1,063

#2
YUN ZHU Profile Picture

YUN ZHU 1,002 Super User 2025 Season 1

#3
Mansi Soni Profile Picture

Mansi Soni 800

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans