Smoothly Closing a Form

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
 
F

Frank Basco

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.
 

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