deleteFile()
The textReportDriver.deleteFile() function deletes the driver file that contains your report information.
Syntax
textReport.textReportDriver.deleteFile()
- textReport
- The name of a variable that is based on the TextReport external type.
- textReportDriver
- The name of a variable that is based on the TextReportDriver external type.
Example
In the following example, the report engine deletes the driver file that it created from a scratch file:
myReportDriver = TextReportDriver.createDriverFromTempFile();
myReport.setReportDriver(myReportDriver);
...
myReport.myReportDriver.deleteFile();