# How to Add Report ID field on all Nav Reports (Appx 800 Reports) by code

**URL:** <https://www.dynamicsuser.net/t/how-to-add-report-id-field-on-all-nav-reports-appx-800-reports-by-code/25784>\
**Category:** Developers Forum\
**Created:** [June 4, 2010, 12:20pm UTC](https://www.dynamicsuser.net/t/how-to-add-report-id-field-on-all-nav-reports-appx-800-reports-by-code/25784 "2010-06-04T12:20:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![visgold](https://avatars.discourse-cdn.com/v4/letter/v/ea5d25/32.png) [@visgold](https://www.dynamicsuser.net/u/visgold)\
**Post date:** [June 4, 2010, 12:20pm UTC](https://www.dynamicsuser.net/t/how-to-add-report-id-field-on-all-nav-reports-appx-800-reports-by-code/25784/1 "2010-06-04T12:20:17Z")

</div>

Hi

Can anyone suggest me if there is any way to add Report ID on header of all navision reports through code.

I know it is easy and can be done on each and individual report by using text box with source expression value CurrReport.ObjectsID(False) But to do it on all reports may take more than one day.

Any suggestion/Help.

---

<div class="post-metadata">

**Author:** ![DaveT](https://avatars.discourse-cdn.com/v4/letter/d/958977/32.png) [@DaveT](https://www.dynamicsuser.net/u/DaveT)\
**Post date:** [June 4, 2010, 1:03pm UTC](https://www.dynamicsuser.net/t/how-to-add-report-id-field-on-all-nav-reports-appx-800-reports-by-code/25784/2 "2010-06-04T13:03:02Z")

</div>

Hi,

Only quick way is to export to text and do a substitution in the text file and then re-import. Make sure to do this off line as importing text object overwrites without prompt

---

<div class="post-metadata">

**Author:** ![DaveT](https://avatars.discourse-cdn.com/v4/letter/d/958977/32.png) [@DaveT](https://www.dynamicsuser.net/u/DaveT)\
**Post date:** [June 4, 2010, 1:03pm UTC](https://www.dynamicsuser.net/t/how-to-add-report-id-field-on-all-nav-reports-appx-800-reports-by-code/25784/3 "2010-06-04T13:03:30Z")

</div>

PS Welcome to the Dynamics User Group!
