acCmdWindowHide

  • Thread starter Thread starter AM
  • Start date Start date
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.
 
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
 
Back
Top