have macros replaced event procedures in MS access 2007

  • Thread starter Thread starter LostInSpace
  • Start date Start date
L

LostInSpace

In Access 2007, everytime I create a button for a form the code defaults to a
macro instead of an event procedure. In 2003 it would default to an event
procedure. Is there a way to default it to an event procedure in 2007?
 
On Tue, 3 Feb 2009 05:13:01 -0800, LostInSpace

It was that way in A2003 as well, until you changed it. In A2007 the
setting is in OfficeButton > ObjectDesigners > Forms/Reports > Always
use event procedures.

-Tom.
Microsoft Access MVP
 
In addition to setting the option Tom referred to, you can just type a
left-square-bracket beside any event property in the Properties box. Access
will complete [Event Procedure] for you. Then when you click the Build
button beside that, you get the code window.
 
Back
Top