web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Difference Between FIELDCAPTION and Include Caption

(0) ShareShare
ReportReport
Posted on 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

I have the same question (0)
  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans