2501 error - 'Open of Report Cancelled'

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

What would cause this error to generate spontaneously? I was told some remote
users encountered this after another user had a terminal server printer
driver error. The error generated on attempting to open the report. Each user
has a separate copy of the front-end. The only way I know this can trigger is
if I set Cancel = True on the NoData event. What else causes it?

Thanks.
 
If the report takes a while to open, a user might press Ctrl+Break, which
would trigger this error.

Cancelling the report's Open event can cause the error just like NoData.

It could also arise from concurrency errors, e.g. the data is not available
because someone has the table exclusivedly locked.

Of course a bad filter/WhereCondition could result in no records, which
could trigger the NoData event.

Then there's always the possibility of a corruption in an index (so
compact/repair is needed) or in code (so decompile needed.)
 
Back
Top