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
"KLP34" wrote:
> 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."
|