error 2501 - openform cancelled

S

SOS

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.
 
S

SOS

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
 
Top