PrintReport
PrintReport triggers the printing of the report.
Syntax
[form.]Report.PrintReport
For example:
Result% = CrystalReport1.PrintReport
«Prints the specified report.»
Remarks
- PrintReport returns a result code, 0 if the call is successful, an error code in the 20XXX range if it fails.
- You can also print a report using the Action. If something goes wrong, however, you get a runtime error that will terminate your application. For this reason, you will need to set up an error handler.
Availability
Runtime
Related Report Engine Functions
PEStartPrintJob