acCmdWindowHide

A

AM

I have the following in the Form_Open event

DoCmd.RunCommand acCmdWindowHide

It is supposed to just hide the database window but for
some reason on this one form after I go into design view
and then try to display the form again it hides the form.
If I comment out the form is not hidden.
 
C

Chris Nebinger

Just that line only hides the ACTIVE window. So yo uneed
to activate the dbwindow, then close it.


Docmd.SelectObject acTable, , True
Docmd.RunCommand acCmdWindowHide


Chris Nebinger
 
Top