Skip to content

pbCSVExportReportSections - cDRReport

Methods - Properties - Events

Type

Boolean

Default

False

Arguments

None

Description

Indicates if exporting to CSV should export report sections.

Can be retrieved or set after the OCX is initialized.

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
        String sReportId

        Get OpenReport of oReport to sReportId
        If (sReportId <> '') Begin
            Set pbCSVExportReportSections of oReport to True
            Send ExportReport of oReport C_drCSV 'c:\tmp\MyReport.csv'
        End
    End_Procedure
End_Object