On Click error in Acess 2007

K

KLP34

I opened a database that was created in Access 2003 and received the error
message shown below. BTW, everything works fine in A2003. The item I
clicked on was on the first screen. Any information would be appreciated.

"The expression On Click you entered as the event property setting produced
the following error: Object or class does not support the set of events."
 
V

vbasean

Buttons (like other controls) have events. The major event of a button could
be concidered the "On_Click" event

open the form in design view

right click on the button in question and select 'Properties'

Select the 'Events' tab

if you scroll down the list you will see the 'On Click' event

it could be marked with:
- the name of a macro
there's something wrong with the macro, check it out by going to the
'Macros' (listed in the view off to the left of the main window)
- a function
there's something wrong with the function, click [ctl] + [f2] while in
the box.
- or [Event Procedure]
there's something wrong with the VBA procedure. Click on the elipse
button [...] which will guide you VBA window.
- or it's blank.
something got lost in the transition 2003 to 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