Skip to content

RefreshReport - cDRReport

Methods - Properties - Events

Method Type

Procedure

Arguments

None

Description

Refreshes the report by reading the data and formatting the pages. This method needs to be sent when the filters are changed.

Sends DisplayStatusPanel and OnDefineFilters.

This method cannot be used before the report OCX object is initialized. The COM object creation is performed as part of the OpenReport method if it has not been done previously.

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

Object oRefreshReportButton is a Button
    Set Label to 'Refresh Report'

    Procedure OnClick
        Send RefreshReport of oReport
    End_Procedure
End_Object