ReportDefn Class Constructor

This section describes the constructor for the ReportDefn class.

Syntax

ReportDefn(ReportId)

Description

Use the ReportDefn constructor to instantiate a ReportDefn object. You must then use the Get method to initialize the object.

Parameters

Field or Control

Definition

ReportId

Specify a unique ID to be associated with the report definition.

Returns

A reference to a ReportDefn object.

Example

import PSXP_RPTDEFNMANAGER:ReportDefn;

Local PSXP_RPTDEFNMANAGER:ReportDefn &rptDefn = create PSXP_RPTDEFNMANAGER:ReportDefn(&rptDefnId);
&rptDefn.Get();