Skip to content

OnOpenReport - cWebDRReportViewer

Method Type

Procedure (event)

Arguments

None

Description

This event is fired if pbServerOnOpenReport is set to true and can be used to respond when the report is being opened.

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