Skip to content

phoReportViewer - cDRReport

Methods - Properties - Events

Type

Handle

Default

0

Arguments

None

Description

Can be set to the object ID of a (web) object that understands the psURL web property interface. If set, the property is typically assigned to an instance of the cWebIFrame class.

The property is utilized by the GenerateReport method. The GenerateReport method creates a PDF document that can be displayed in an iFrame, the current browser tab, a new browser tab, or a new browser window. If the property is not set, the peBrowserTarget is used and passed to the NavigateToPage method of the web framework.

DataFlex Framework usage

  • Web
  • FlexTron (using web report viewer)

Sample

Object oMyReport is a cWebDRReport
End_Object

Object oViewer is a cWebIFrame
    Set pbFillHeight to True
    Set pbShowBorder to True
    Set phoReportViewer of oMyReport to Self
End_Object