piXLSPage - cDRReport¶
Methods - Properties - Events
Type¶
Default¶
1
Arguments¶
None
Description¶
When the export to XLS should not include all pages pbXLSAllPages this property can be used to instruct the print engine which page to export to the file
Can be retrieved or set after the OCX is initialized.
Related topics¶
- pbXLSAllPages
- piXLSColumnWidth
- pbXLSExportDataOnly
- pbXLSExportGroupSections
- pbXLSExportNativeDatatype
- pbXLSExportPageSections
- pbXLSExportReportSections
- peXLSNewSheet
- 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 pbXLSAllPages of oReport to false
Set piXLSPage of oReport to 3
Send ExportReport of oReport C_drXLS 'c:\tmp\Page3.xls'
End
End_Procedure
End_Object