PreviewPreviousPage - cDRReport¶
Methods - Properties - Events
Method Type¶
Procedure
Arguments¶
None
Description¶
Previews the previous report page, if available.
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 performed as part of the OpenReport method if not done beforehand.
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 oPreviousPageButton is a Button
Set Label to 'Previous Page'
Procedure OnClick
Send PreviewPreviousPage of oReport
End_Procedure
End_Object