outputToReport()
Use the textReport.outputToReport() function
to initiate the output of a prepared row of report data. The function
passes control to the Java™ report
engine. The engine then checks to see whether it needs to create a
header or footer (or both). If so, it calls one or more of the handler
functions that are associated with the following report variables
(see Text report variables):
- onFirstPageHeaderListener
- onPageHeaderListener
- onPageTrailerListener
When there is room to print a row, the engine calls any functions
that are associated with the following report variables, in the order
shown:
- onAfterGroupListener (not called for first row)
- onBeforeGroupListener
- onEveryRowListener
Syntax
textReport.outputToReport()
- textReport
- The name of a variable that is based on the TextReport external type.
Example
The following example prints the next row of report data, assuming that the actual print command is found in the function that is associated with the onEveryRowListener report variable:
myReport TextReport = new TextReport();
...
myReport.outputToReport();