error 2501 - openform cancelled

G

Guest

This is very odd. I can open this form yesterday but today I got this error.
I didn't change anyt coding regarding the openform statement. The only thing
I changed is adding more code about DAO recordset processing. Any suggestion?

--
 
A

Allen Browne

Are you able to open the form in *design* view?

If you can, then open its module. In the code window choose Compile on the
Debug menu. If Access points out a problem, fix the problem, and repeat
until all issues are sorted out.

If you have any code in the form's Open, Load, or Current events, you might
want to temporarily remove this code to see if it is preventing the form
from loading.
 
G

Guest

Thank you. I will try it. Currently I can open the design view so I just
remove all codes to word file then add back one by one. Anyway, I still
couldn't figure out what went wrong. But I will try your way to see if I can
find any. Thanks alot.

Mindy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top