The textReportDriver.getFileName() function returns the name of the driver file that contains your report information. The function is useful when you create a unique file name through TextReportDriver.createDriverFromTempFile() and need to know where the file is (for example, to send it to a physical device such as a printer).
textReport.textReportDriver.getFileName()
returns (fileName STRING)
In the following example, reportName contains the name of the temporary file that is created in the first line of code:
myReportDriver = TextReportDriver.createDriverFromTempFile();
myReport.setReportDriver(myReportDriver);
...
reportName STRING = myReport.myReportDriver.getFileName();