PdcReports.Open

From External Bemet Wiki
Jump to: navigation, search

Declaration[edit]

Open(ID as long) as PdcReport

Description[edit]

Notes[edit]

This method reads an existing report in an object. The input parameter is the ID of the report.

Code example[edit]

This example code opens a report with ID 336 and show the printpreview window.

dim objReport

  set objReport = pdc.Reports.Open(336)
  objReport.PrintPreview

Availability[edit]

Available since Februar 2011 (from version 4.2).