Chaim,
Are you sure that printer information is cleared from these reports? That would be the first suspect.
In some cases it also may be corrupted report. If that's the case, you may start from packing the report as a table and in worse case scenario re-create the report.
>This problem is intermittent: when the report preview is closed with the "X" in the upper right hand corner rather than using the closing door on the toolbar, then when the form closes that invoked the report preview, VFP blows up with C00000005. VFP sometimes asks if it's ok to send a message back to Microsoft about the error but sometimes it just goes straight down.
> This doesn't happen all the time. I can reproduce the error consistently on my development machine and on the client machines with some reports but not with others. And it happens only under the run time, not when executing under the development product.
> This is VFP 9.1.
>
> Has anyone experienced this?
>
> It is impossible to debug because once the error occurs, VFP is gone and my error handler cannot take over. VFP is just gone.
>
> Is there any way to disable the "X" in the upper right hand corner? That would be a workaround, but I would rather find out what the problem is and fix it.
>
> Thanks in advance, Chaim
If it's not broken, fix it until it is.
My Blog