Skip to content

pbXLSExportGroupSections - cDRReport

Methods - Properties - Events

Type

Boolean

Default

True

Arguments

None

Description

This property controls whether the group sections (group 1-N header and group 1-N footer) should be included in the export.

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 oExportToXLSReportButton is a Button
    Set Label to 'Export Report to XLS'

    Procedure OnClick
        String sReportId

        Get OpenReport of oReport to sReportId
        If (sReportId <> '') Begin
            Set pbXLSExportGroupSection of oReport to False
            Send ExportReport of oReport C_drXLS 'c:\tmp\MyReport.xls'
        End
    End_Procedure
End_Object