Skip to content

OnReportInfo - cDRReport

Methods - Properties - Events

Method Type

Procedure (event)

Arguments

Argument Description
iInfo A status number.
sInfo The text of the information message.

Description

This procedure can be used to display or log information messages. An example of such an information message is when Microsoft SQL Server reports that the database context has been changed.

The default implementation checks the property pbShowInformationMessages and, if true, sends an Info_Box (Windows) or ShowInfoBox (Web) message.

DataFlex Framework usage

  • Web
  • Windows
  • FlexTron

Sample

Use Logger.Pkg

Object oReport is a cDRReport
    Set psReportName to 'MyReport.dr'

    Procedure OnReportInfo Integer iInfo String sInfo
        String sReportName

        Get psReportName to sReportName
        Send WriteToLogFile Of oLogger sReportName iInfo ' '  sInfo
    End_Procedure
End_Object