A
Allen_N
I've just been trying to debug a report that was returning no data (because a
query it depended on pointed to the wrong table), and now the bloody thing
won't even open. The line:
DoCmd.OpenReport strShowSpecialReport, acPreview
gives:
Run-time error 2501: "The OpenReport action was cancelled".
I don't know how to debug this, because the error is thrown up before I can
step into the Report_Open or Report_Activate routines. Are there particular
exceptions that can cause it?
Thanks!
query it depended on pointed to the wrong table), and now the bloody thing
won't even open. The line:
DoCmd.OpenReport strShowSpecialReport, acPreview
gives:
Run-time error 2501: "The OpenReport action was cancelled".
I don't know how to debug this, because the error is thrown up before I can
step into the Report_Open or Report_Activate routines. Are there particular
exceptions that can cause it?
Thanks!