OpenForm action canceled

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

Guest

Can anyone help? I'm new to Access.......

I created a subform within a form. The main form had a button which took the user to yet another form and this worked fine. Then I moved the button to the subform rather than the main form. I amended the code to point at all the right forms but now when I click the button I get this message

"The OpenForm action was canceled

What am I doing wrong
 
Without seeing any of the code, it is hard to be sure, but
a couple of things I recommend that you try. Firstly,
compile the entire database (From within the VB Editor,
look for Compile under the Debug menu). Sometimes, if a
form fails to compile 'on the fly', you can get this
message. Once the database does compile and you still get
this message, check out any code in the form's Open
eventhandler.

Hope This Helps
Gerald Stanley MCSD
-----Original Message-----
Can anyone help? I'm new to Access........

I created a subform within a form. The main form had a
button which took the user to yet another form and this
worked fine. Then I moved the button to the subform rather
than the main form. I amended the code to point at all the
right forms but now when I click the button I get this message:
 
Back
Top