DisplayOutput method: ReportDefn class

Syntax

DisplayOutput()

Description

Use the DisplayOutput method to display the report generated by the ProcessReport method in a separate browser window.

You must successfully call the ProcessReport method prior to calling this method.

This method displays a single report. Therefore, the report definition must not be set for bursting.

Note:

The DisplayOutput method uses the file attachment functions, which are Think-Time functions. If this method is called after a SQL update, insert, or delete statement is executed on the database and not yet committed, it may result in a think-time error. If this is the case, and there is no reason for the SQL update to remain uncommitted, you can use the PeopleCode CommitWork function to commit the SQL changes to the database before calling DisplayOutput. Remember that forcing a commit on pending database updates is a serious step that prevents rollback errors. First, confirm that the context in which you are calling CommitWork is appropriate.

Parameters

None.

Returns

None.