OpenForm Method Cancelled

G

Guest

After editing code in a form module, I can no longer open the form. When I
try to open it using a command button from a menu form (code below), I get a
"2501 The OpenForm action was cancelled."

If I attempt to open it from the Forms tab, I get the message "The
expression On Open you entered as the event property setting produced the
following error: Variable not defined."

Does anyone know what might be causing the problem?

Thank you.
Sprinks
 
A

AccessVandal via AccessMonster.com

Why don't you post the codes for the On Open Event and let us see what might
be the cause.
 
G

Guest

It appears to have been a corruption problem. I cut and pasted the form
module, deleted the form, and imported it from my backup, and it works again.

Thank you for your response.

Sprinks
 

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