Access 2003 - run-time error 2501
Posted on 2007-07-30
We are getting an error message when trying to run one of our access files. The error message reads: "Run-time error 2501 - The OpenReport action was canceled" -- when I click on debug it brings me to the following line of code:
DoCmd.OpenReport stDocName, acViewPreview
This report runs fine when we remote into work from home. I am not familiar with visual basic code so any help would be appreciated before I have to call out the person that wrote this code. What is confusing is it runs fine when accessed from the girl's computer from home. I have uninstalled and re-installed Office2003 Pro and applied SP2.
Any help is appreciated. Thank you.