E
Ed from AZ
I use DoCmd.MoveSize to resize my form on Form_Load and in the code of
two buttons. How can I supress the "Do you want to save changes to
the design?" message when I close?
I tried setting Me.Dirty = False, but the code kept coming back as an
invalid reference to Dirty - I finally realized that when it hit that
spot, the database window was becoming the active window and the
object of "Me", and probably doesn't have a Dirty property.
Everywhere else I use Me to refer to the controls, it works just fine.
Ed
two buttons. How can I supress the "Do you want to save changes to
the design?" message when I close?
I tried setting Me.Dirty = False, but the code kept coming back as an
invalid reference to Dirty - I finally realized that when it hit that
spot, the database window was becoming the active window and the
object of "Me", and probably doesn't have a Dirty property.
Everywhere else I use Me to refer to the controls, it works just fine.
Ed