Report method: Report class
Syntax
Report(RptId, Prcsinstance, Contentid, Dbname, RptName, RptDescr, RptURL, RptCreateDttm, RptExpireDt, FldrName)
Description
Use the Report constructor to instantiate and populate a Report object with the data of an already published report.
Parameters
| Parameter | Description |
|---|---|
|
RptId |
Specify the report ID of the report you want to access, as a string. |
|
Prcsinstance |
Specify the process instance of the report you want to access, as a number. |
|
Contentid |
Specify the content ID number of the report you want to access, as a number. |
|
Dbname |
Specify the data base name, as a string. |
|
RptName |
Specify the name of the report you want to access, as a string. |
|
RptDescr |
Specify the description of the report you want to access, as a string. |
|
RptURL |
Specify the URL to the report details page, as a string. |
|
RptCreateDttm |
Specify the date and time of the report you want to access, as a date time value. |
|
RptExpireDt |
Specify the date when the report will be archived, and no longer considered active, as a date. |
|
FldName |
Specify the name of the folder the report was published to, as a string. You must specify an absolute path name, using forward and back slashes as required by the operating system of the application server or process scheduler. |
Returns
A reference to a Report object.
Example
import PSXP_REPORTMGR:Report;
Local PSXP_REPORTMGR:Report &oRpt = create PSXP_REPORTMGR:Report(String(&nRptId),⇒
&prcsinstance, &contentid, &sdbname, &sRptName, &sRptDescr, &sRptURL, &sFile⇒
URL, &dRptCreateDttm, &dRptExpireDt, &sFldrName);