Skip to content

RunReport - cDRReport

Methods - Properties - Events

Method Type

Procedure

Arguments

None

Description

Runs the report by first opening the report (OpenReport) and then sending OutputReport. OutputReport checks the peOutputDestination to determine if the output should be sent to the screen, a printer, or a disk file.

The property psReportName must be set for this method to function.

This method sets the pbHasErrors property to false.

DataFlex Framework usage

  • Web
  • Windows
  • FlexTron

Sample

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

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

    Procedure OnClick          
        Send RunReport of oReport
    End_Procedure
End_Object