pbHTMLMultiPage - cDRReport¶
Methods - Properties - Events
Type¶
Default¶
False
Arguments¶
None
Description¶
Indicates if exporting to HTML should export all pages or just one page. When set to true the print engine creates a HTML file per page and for that inserts a dash + page number in the filename. When the specified name is 'test.html' and the number of pages is 3 the print engine creates files with the names 'test-1.html', 'test-2.html' and 'test-3.html'.
Can be retrieved or set after the OCX is initialized.
Related topics¶
DataFlex Framework Usage¶
- Web
- Windows
- FlexTron
Sample¶
Object oReport is a cDRReport
Set psReportName to 'MyReport.dr'
End_Object
Object oExportToHTMLReportButton is a Button
Set Label to 'Export Report to HTML'
Procedure OnClick
String sReportId
Get OpenReport of oReport to sReportId
If (sReportId <> '') Begin
Set pbHTMLMultiPage of oReport to True
Send ExportReport of oReport C_drHTML 'c:\tmp\MyReport.html'
End
End_Procedure
End_Object