getNextReportLine()

The textReportDriver.getNextReportLine() function returns a line from the driver file that contains your report information. The first call to the function returns the first line in the file; each subsequent call returns the next sequential line. After you call the textReportDriver.closeFile() function, the file pointer is reset; a subsequent call to textReportDriver.getNextReportLine() returns the first line of the report.

Syntax

  textReport.textReportDriver.getNextReportLine()
  returns (reportLine STRING?)
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.
reportLine
The next sequential line of report information.

Example

In the following example, reportLine contains the a line of report data from the driver file:

myReportDriver = TextReportDriver.createDriverFromTempFile();
myReport.setReportDriver(myReportDriver);
...
reportLine STRING = myReport.myReportDriver.getNextReportLine();

Feedback