pbXLSExportReportSections - cDRReport¶
Methods - Properties - Events
Type¶
Default¶
True
Arguments¶
None
Description¶
This property controls whether report header and report footer sections should be included in the export. Setting this to false for a Data Only format makes sense when the data is in the group header, footer and details sections.
Can be retrieved or set after the OCX is initialized.
Related topics¶
- pbXLSAllPages
- piXLSColumnWidth
- pbXLSExportDataOnly
- pbXLSExportGroupSections
- pbXLSExportNativeDatatype
- pbXLSExportPageSections
- peXLSNewSheet
- piXLSPage
- peXLSVersion
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 pbXLSExportReportSections of oReport to False
Send ExportReport of oReport C_drXLS 'c:\tmp\MyReport.xls'
End
End_Procedure
End_Object