I'm using Docmd.OutputTo to print a series of reports in pdf format to a previously selected folder. If each report has data all goes well. However if a report does not have any data, Access 2007 accdb is crashing. I have the OnNoData event in each report coded to set Cancel=True. In the subroutine which contains the Docmd.OutPutTo I have the usual If ERR <> 2501 Then error trap. When the Docmd.OutPutTo is executed for the next report Access crashes.

Appreciate any thoughts or suggestions on how to keep this from happening.