PdcReport.Print

From External Bemet Wiki
Jump to navigation Jump to search

Declaration

Print(NeverShowPrintDialog as Boolean) as Boolean

Description

Notes

This method prints a report directly to the printer. The parameter indicates, wether the printerdialog is hidden or not. You can not use the AddFilter methode in combination with the Print command.

Code example

This example code opens a report with ID 336 and prints immediately without showing the printerdialog.

dim objReport

  set objReport = pdc.Reports.Open(336)
  objReport.Print True

Availability

Available since Februar 2011 (from version 4.2).