setReportDriver()

You can use the textReport.setReportDriver() function to assign a report driver to your report engine variable. You must create this driver using one of the following text report driver functions:

For more information about drivers, see The text report driver.

Syntax

  textReport.setReportDriver(
     reportDriver TextReportDriver in)
textReport
The name of a variable that is based on the TextReport external type.
reportDriver
The name of a variable that is based on the TextReportDriver external type.

Example

The following example assigns a TextReportDriver variable that is named myReportDriver to the TextReport variable that is named myReport:

myReport TextReport = new TextReport();
...
myReport.setReportDriver(myReportDriver);

Feedback