ReportRun.caption Method [AX 2012]
Creates a caption when previewing a report, or a document name when printing a report.
public str caption(
str reportSpelling,
str reportName,
str designCaption,
str designName)
Run On
CalledParameters
- reportSpelling
- Type: str
The word "Report".
- reportName
- Type: str
The name of the report.
- designCaption
- Type: str
The caption of the design.
- designName
- Type: str
The name of the design.
Return Value
Type: strA string that contains "DesignLabel - ReportSpelling" if the DesignLabel is not empty.
A string that contains "ReportName(DesignName) - ReportSpelling" if the DesignLabel is empty.
The call to the super method in this method creates a string that is used as a caption when previewing a report and as the document name when printing a report.It is recommended that you always fill out the Caption property of the report design so that the caption that is used during the preview of the report is in the actual language.
Community Additions
ADD
Show: