Smoothly Closing a Form

  • Thread starter Thread starter Dan
  • Start date Start date
D

Dan

I have a main form with command buttons that open other X
forms. When I close X forms I want the Main form to
reapper maximized with out seeing the X form restore and
close. I am useing the wizard to create the buttons and it
is creating the standard module with a DoCommand.OpenForm
Command and DoCommand.Close.
Any suggestions on how I can make the form close more
smoothly?

Thanks for you help
 
Just before the close use doCmnd.Echo = False and then after the close use doCmnd.Echo = True

You will be turning the screen updating to off and then back to on after the close eliminating screen flicker.
 
Back
Top