{"title":"IncludeCaption Property","url":"https://jonas-paprotka.de/docs/dev-itpro/developer/properties/devenv-includecaption-property/","by":"JOP-AL","license":"Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-includecaption-property, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-includecaption-property","source":{"name":"Business Central developer and IT pro docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb","commit":"828b6ee72fcd75755627cd6011f3d20899217ab2","date":"2026-11-19"},"checked":"2026-11-19","description":"Sets whether to include the caption of a field in the data set of a report.","date":"2026-10-01","meta":{"topic":"reference"},"outline":[{"level":2,"title":"Applies to","slug":"applies-to","at":136,"chars":29},{"level":2,"title":"Property Value","slug":"property-value","at":165,"chars":112},{"level":2,"title":"Remarks","slug":"remarks","at":277,"chars":589},{"level":2,"title":"Example","slug":"example","at":866,"chars":459},{"level":2,"title":"Related information","slug":"related-information","at":1325,"chars":136}],"text":"> Version: _Available or changed with runtime version 1.0._\nSets whether to include the caption of a field in the data set of a report.\n## Applies to\n Report Column\n## Property Value\nTrue includes the caption in the report dataset; otherwise false. The default value is false.\n## Remarks\nIf IncludeCaption is set to True on a column in a dataitem, then a corresponding label called\n{column name}Caption is included in the dataset. The structure of where labels are available depends on the layout type (Excel, Word, or RDLC). See ../devenv-report-object#report-labels.\nIf you want to use the Caption or CaptionML values of a field as a label on a report layout, then you must include the caption in the dataset. If you do not include the caption in the dataset, then in a multilanguage application, you cannot use the multilanguage captions as labels in the report.\n## Example\nIn this example, the report has a dataitem based on the Item table. The dataitem has a column No_Item based on the field No. from the Item table, and the caption of this column should be included as a label in the report dataset.\n```al\n...\ndataset\n{\n    dataitem(Item; Item)\n    {\n        column(No_Item; \"No.\")\n        {\n            IncludeCaption = true;\n        }\n}\n```\nThe corresponding label in the dataset will then be called No_ItemCaption.\n## Related information\nDefining a report dataset<../devenv-report-dataset>\n../devenv-report-object#report-labels\ndevenv-caption-property"}