NAV RDLC Reports: How to Re-implement Page Number control

SigitaSigita Member Posts: 6
edited 2014-10-08 in NAV Tips & Tricks
In NAV versions earlier than 2013, it was very common for Page Number Caption in reports to be developed as follows:

1. Text Constant was created (i.e. Text005 Page %1)
2. TextBox control with SourceExp STRSUBSTNO(Text005,FORMAT(CurrReport.PAGENO)) was added to Header Section


In NAV versions starting from 2013 function CurrReport.PAGENO is obsolete, so the Globals!PageNumber function of Visual Studio should be used.

Here is the step-by-step solution to how 1ClickFactory developers re-implement this task to ensure that caption “Page” is always printed in correct language:
http://www.1clickfactory.com/blog/posts ... ntrol.aspx
Developer at 1ClickFactory
Sign In or Register to comment.