Question:
With the 'End Of Batch Notification Report', is it possible to NOT report an error when the job is cancelled due to zero records? When 'Cancel Output If 0 Records' is selected...
Answer:
Edit the 'End of Batch Notification Report' in Crystal Reports, and use this record selection:
(If {?ReportType} = "All" Then
{rptbatch_ttx.LastRunMsg} <> ""
Else
{rptbatch_ttx.LastRunMsg} <> "Success" and {rptbatch_ttx.LastRunMsg} <> "Off" and Left({rptbatch_ttx.LastRunMsg},25) <> "Job produced zero records")
and
{rptbatch_ttx.Notification} = "0"