Skip to content

pbServerOnOpenReport - cWebDRReportViewer

Type

Boolean

Default

False

Arguments

None

Description

Can be set to true to be able to respond to the opening of a report using the OnOpenReport event.

Sample

Object oViewer is a cWebDRReportViewer
    Set phoReport to oReport
    Set pbServerOnOpenReport to True

    Procedure OnOpenReport
        Integer iPages

        Forward Send OnOpenReport

        WebGet piPageCount to iPages
        Send ShowInfoBox iPages
    End_Procedure
End_Object