ReportMgr Object

The ReportMgr object provides an interface for generating reports.

Note: The ReportMgr object is for Windows™ only.

You can use this object to write external applications to execute reports defined in the HCL Compass workspace. You can also use the methods of this object to check the status and parameters of a report.

  1. Associate the Workspace object with a Session object.

    This association makes it possible to access reports in the HCL Compass workspace.

  2. Get a ReportMgr object by calling the GetReportMgr method of the Workspace Object.

    When you call GetReportMgr, you must specify the name of the report you want to execute. HCL Compass associates that report with the returned ReportMgr object. To execute a different report, you must create a new ReportMgr object.

  3. Set the name of the file in which to put the report data by calling the SetHTMLFileName method.
  4. Execute the report by calling the ExecuteReport method.