On Click Events Calling forms

R

Rob

This is my first time venturing into Access 2007 programming, but I have done
it a lot in VB6 and prior versions of Access. I have a Menu type form that
is going to have buttons, images, and when the user clicks on them they will
open a new form. In 2007, when I code a button and go through the wizard, it
creates it as a macro. I want it to be code. I do the Convert Macro to
Expression, and it says everything is converted correctly. I also type the
DoCmd to open the form in the Click events of the images. Yet when I have
the form in View mode and click on the buttons or the image, the Click event
isn't even registering (I put a Break Point in the event and it is not being
triggered). It's probably obvious and I'm just missing it, but what am I
doing wrong to where the Click event is not being triggered in the code?

Thank you
 
R

RonaldoOneNil

I don't have access 2007 myself but I suspect it is in the tools security
section that is set so that code does not run. Check your security settings
(wherever it is in 2007 !!)
 

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