Skip to content

pbCancelIfError - cDRReport

Methods - Properties - Events

Type

Boolean

Default

True

Arguments

None

Description

Determines if the report handling will be canceled when an error occurs.

DataFlex Framework usage

  • Web
  • Windows
  • FlexTron

Sample

Object oReport is a cDRReport
    // invoke an error with a non-existent report
    Set psReportName to 'NonExistentReport.dr'
    Set pbCancelIfError to False
End_Object

Object oRunReportButton is a Button
    Set Label to 'Run Report'

    Procedure OnClick
        Boolean bHasErrors

        Send DisplayReport of oReport
        Get pbHasErrors to bHasErrors
    End_Procedure
End_Object