Skip to main content
Post a question

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id : R0zDhDYVtt1BVeas7mBiKf
Microsoft Dynamics NAV (Archived)

Difference Between FIELDCAPTION and Include Caption

Like (0) ShareShare
ReportReport
Posted on 22 Feb 2018 10:15:53 by

In RDL reporting in NAV 2017 what's the difference in using FIELDCaption(MyTable.MyField) instead of Include Caption = TRUE in the Report Dataset Designer.

When should I use which one in which context, what's the be practice on this ?

I see that sometimes on some reports IncludeCaption is ticked to TRUE and sometimes fieldcaption is used, what's the design decision pattern on this ?

*This post is locked for comments

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,162 Most Valuable Professional on 22 Feb 2018 at 10:27:50
    RE: Difference Between FIELDCAPTION and Include Caption

    FIELDCAPTION function Pros: works the same way as text constants. It provides ability to transfer captions defined for table fields and to effectively use captions. Cons: just like text constants, they clutter the dataset and slow the performance of the report down.

    IncludeCaption flag Pros: this flag is transferring captions of a table field to static text inside the RDCL report, the same way labels do. It works very efficiently and is very easy to maintain and develop. Cons: does not work when you need to dynamically change the report language in the middle of execution or you have custom captions for a field.

    <table name>.FIELDCAPTION(<table field name>) is useful if you need to switch the report language dynamically, otherwise using IncludeCaption is the best choice for performances.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

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

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,642 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,593 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans
Loading started