piCSVPage - cDRReport¶
Methods - Properties - Events
Type¶
Default¶
1
Arguments¶
None
Description¶
When pbCSVAllPages is false this setting controls which page to export to CSV.
Can be retrieved or set after the OCX is initialized.
Related topics¶
- psCSVFieldSeparator
- psCSVFieldDelimiter
- pbCSVAllPages
- pbCSVExportReportSections
- pbCSVExportPageSections
- pbCSVExportGroupSections
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