ReportFolder is a text function that returns the path of the folder where the report is located. You can use this function in a text box, text cell, or a row or column heading.
<<Reportfolder()>>
The following example inserts the path of the folder where the report is located:
The following considerations provide additional information 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 first 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, then Print Preview the report, the previous location of the folder is displayed. This is by design for performance reasons. To re-evaluate the report, modify a grid or report object, then Print Preview to see the new folder location.