PreviewLastPage - cDRReport¶
Methods - Properties - Events
Method Type¶
Procedure
Arguments¶
None
Description¶
Previews the last report page.
This method does nothing if pbHasErrors and pbCancelIfError are true.
This method cannot be used before the report OCX object is initialized. The COM object creation is - when not done before - created as part of the OpenReport method.
DataFlex Framework usage¶
- Windows
- Windows controls in a FlexTron application
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
Send RunReport of oReport
End_Procedure
End_Object
Object oLastPageButton is a Button
Set Label to 'Last Page'
Procedure OnClick
Send PreviewLastPage of oReport
End_Procedure
End_Object