Skip to content

cWebDRReportViewer Class

Properties - Methods - Events

An object of this class can be used to show the result of a HTML or IMAGE (GIF, JPEG) report in a browser. The class consists of a DataFlex class and a Web control to show the contents.

This class is not available in DataFlex versions 17.0 and older.

The following example shows the usage of the cWebDRReportViewer class:

Object oReport is a cWebDRReport
    Set psReportName to "Report.dr"
End_Object

Object oViewer is a cWebDRReportViewer
    Set phoReport to oReport
End_Object

Object oShowReportButton is a cWebButton
    Procedure OnClick
        Send ShowReport of oViewer
    End_Procedure
End_Object