Skip to content

pbCSVExportPageSections - cDRReport

Methods - Properties - Events

Type

Boolean

Default

False

Arguments

None

Description

Indicates if exporting to CSV should export page sections (page header, footer).

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 pbCSVExportPageSections of oReport to True
            Send ExportReport of oReport C_drCSV 'c:\tmp\MyReport.csv'
        End
    End_Procedure
End_Object