Status
Status indicates the print status for the specified report.
Syntax
[form.]Report.Status
For example:
Status% = CrystalReport1.Status
«Fetches the print status and saves it to the Status variable.»
Remarks
The Status property will return one of the following values:
- "0" if PEOpenEngine or PEOpenPrintJob has not been called successfully.
- "1" if the job has not started yet (PE_JOBNOTSTARTED).
- "2" if the job is in progress (PE_JOBINPROGRESS).
- "3" if the job has completed successfully (PE_JOBCOMPLETED).
- "4" if the job has failed (PE_JOBFAILED).
- "5" if the job has been canceled by the user (PE_JOBCANCELLED).
- "6" if the job has been halted (PE_JOBHALETED).
This property/method is available for subreports.
Data Type
Integer
Availability
Runtime
Related Report Engine Functions
PEGetSQLQuery