Skip to main content

Notifications

Microsoft Dynamics GP (Archived)

Page numbering in GP Templates not working in header

Posted on by Microsoft Employee

I have a template that shows only the formula for the page number and not the actual numbers. IE {PAGE  \*MERGEFORMAT}. I have reviewed the bookmarks and compared against functioning numbering on other templates and they all appear to be in place. Does anyone know of what else might cause this and how to fix it. Thanks.

*This post is locked for comments

  • JamesLyn Profile Picture
    JamesLyn 360 on at
    RE: Page numbering in GP Templates not working in header

    First off, make sure to make a backup of your template before proceeding.

    If it does not appear in the field list, but you are certain it exists in your report, you need to export the XML for your report to update your word template. When you print your report from GP, select Report Type: Standard --> to file --> XML file type --> Save it to your desktop --> Print report. In the word template --> Developer --> Field List --> Select your report source --> Remove Source to clear your current source --> Add Source --> Select your XML from your desktop to re-import the current fields from your report --> Locate the page number field and drag onto your report. For the page number to work, you have to ensure you have the proper bookmarks setup and that the page number field exists in the same header/footer as the Report Writer report.

    To re-add a word page number though, just edit your header/foot, and go to Design --> Header & Footer --> Page Number --> Current Position --> Select the design that suits you.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Page numbering in GP Templates not working in header

    Thank you for the idea, turns out it is actually the Word page number that doesn't work right, I inherited this messed up template from someone else and it seems to be messed up at the original level, is that even possible? This made me think I could then put back the GP variable but don't see how to on the template, it is not something I can pick off the field list although it is most definitely there on the standard report. Would you know how to put it back so I can see if in fact it does work? Thanks.

  • JamesLyn Profile Picture
    JamesLyn 360 on at
    RE: Page numbering in GP Templates not working in header

    A workaround that I do is I just insert Word's page number instead of dealing with a GP variable.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans