Skip to content

pbCSVAllPages - cDRReport

Methods - Properties - Events

Type

Boolean

Default

True

Arguments

None

Description

Indicates if exporting to CSV should export all pages or just one page.

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 pbCSVAllPages of oReport to false
            Set piCSVPage of oReport to 3
            Send ExportReport of oReport C_drCSV 'c:\tmp\MyReport.csv'
        End
    End_Procedure
End_Object