ReportFolder

ReportFolder is a text function that returns the path of the folder where the report is located. Use this function in a text box, text cell, row, or column heading.

Syntax:

  <<Reportfolder()>>

Example:

Insert the path of the folder where the report is located:

<<Reportfolder( )>>

Considerations when using ReportFolder:

  • The report must be located in a folder other than the root folder. The root folder is not considered a report folder and returns an empty string.

  • The report must be saved to a folder in order to return the correct string. An unsaved report returns an empty string.

  • If you open a report containing a ReportFolder function, save it to a new folder. When you use Print Preview to preview the report, the previous location of the folder is displayed. This is by design for performance reasons. To reevaluate the report, modify a grid or report object, then use Print Preview to see the new folder location.