Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Answered

Number my reports pages correctly.

Posted on by 60

Hello,
I'm trying to number my report pages by 1 to 1 (lenght of the report), each copy.
For example 1 sales invoice with 3 copies, i want that every copy have 1 of 1.
Actually it's numbering all of them like 1 of 4.
If anyone have the answer or can help me please let me know.
My expression, in some reports works:

pastedimage1643276359699v1.png
I have also this hide expression in my header:

pastedimage1643276387021v2.png

Thank you.

  • RubenPerez Profile Picture
    RubenPerez 60 on at
    RE: Number my reports pages correctly.

    Thank you, Very helpfull!

    But i did that in 5 reports that i have to number, and only works in 1.

    I think that maybe my reports are bad constructed.

    I keep going with that.

    Thank you again.

  • Verified answer
    Steven Renders Profile Picture
    Steven Renders 5,045 Moderator on at
    RE: Number my reports pages correctly.

    Very simple. Use Globals!PageNumber and Globals!TotalPages.

    Then make sure in the body there's a list with a group on DocumentNo with PageBreak enabled, and in the group apply the ResetPageNumber property.

    Exactly like in report 1306.

    Then put all other controls from the body, in the list.

    0576.png

    8206.png

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,564 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,651 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans