# Document functions

These functions can be used in charts and script.

ReportComment(report\_number)

Returns the comment of the report with the specified number within the active document.

ReportName(report\_number)

Returns the name of the report with the specified number within the active document.

ReportID(report\_number)

Returns the id of the report with the specified number within the active document.

ReportNumber(report\_id\_or\_name)

Returns the number of the report with the specified id or name within the active document.

NoOfReports()

Returns the number of reports in the active document.