peOutputDestination - cDRReport¶
Methods - Properties - Events
Type¶
Default¶
- Windows: PRINT_TO_WINDOW
- Web: PRINT_TO_FILE
Arguments¶
None
Description¶
Determines how a report should be printed. Supported are these modes. The property is only used by the OutputReport method.
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
Set peOutputDestination of oReport to PRINT_TO_WINDOW
Send RunReport of oReport
// Then also prints the report
Send PrintReport of oReport 0
End_Procedure
End_Object