Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Page Number Not Correct in Reports: NAV 2009 R2

(0) ShareShare
ReportReport
Posted on by

Hello

I created a report using VS 2008 report designer.

I set the page number using "Globals!PageNumber"

But the following problem is occuring

  1. If the report consists of more than one page, and I need more than one copy, the page number is appearing continuously in all copies.
    • Say, If the report consists of 2 pages and I need two copies of the same, the first report will be numbered as Page 1 and Page 2, second report will be numbered as Page 3 and Page 4.
  2. In case I try to set otherwise, the page number is not appearing correctly
    • Say, If the report consists of 2 pages and I need two copies of the same, all the pages of the report will be shown as 'Page 1'.

What is the problem?

Please help me to resolve this

*This post is locked for comments

  • Saurabh Shah Profile Picture
    4,560 on at
    RE: Page Number Not Correct in Reports: NAV 2009 R2

    Hi Jiju,

    Are you looking at any more information on this? let me know.

  • Suggested answer
    Saurabh Shah Profile Picture
    4,560 on at
    RE: Page Number Not Correct in Reports: NAV 2009 R2

    Hi Jiju,

    In NAV 2009 R2, You will also find the same expression in report 206. Please follow below screen for it.

     

     

    Now come to GetGroupPageNumber, Please follow below MSDN link to have a information about it. this page is illustrating the same example of report 206.

    http://msdn.microsoft.com/en-us/library/dd354982.aspx

    Hope, you will find your solution. :)

    Regards,

    Saurabh Shah

  • Community Member Profile Picture
    on at
    RE: Page Number Not Correct in Reports: NAV 2009 R2

    Hi Archer/Saurabh,

    It is NAV2009 R2 and VS 2008,

    The problem is that layout of report number 204,205,206 are  blank ,and I cannot  reach the code,so please let me know what is inside " Code.GetGroupPageNumber"

    Thank you,

    JO

  • Suggested answer
    Saurabh Shah Profile Picture
    4,560 on at
    RE: Page Number Not Correct in Reports: NAV 2009 R2

    Hi ,

    in connection with Archers reply, Go to report number 205 (Order Confirmation) 

    Open the Layout and follow the below screen. check the code and follow the same for your report.

    You can use the same for your report.

    Regards,

    Saurabh Shah

  • Suggested answer
    keoma Profile Picture
    32,727 on at
    RE: Page Number Not Correct in Reports: NAV 2009 R2

    hi,

    in the standard reports e.g. 204,205,206 it's solved (in the header area).

    Code.GetGroupPageNumber(ReportItems!NewPage.Value,Globals!PageNumber)

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

🌸 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…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics NAV (Archived)

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans