G
Guest
Hi,
I have tried this option but it does not work in my case.
What I'm tring to do is hide the database window when I display my own
forms. But I can see it appearing and disappearing in the background which is
not very professional.
Here is some simple code on a form_Load event.
' ************************************
Private Sub Form_Load()
DoCmd.Echo False
DoCmd.SelectObject acForm, "frmReports", True
RunCommand acCmdWindowHide
DoCmd.Echo True
End Sub
' ************************************
What's wrong with my way of doing?
Thanks.
I have tried this option but it does not work in my case.
What I'm tring to do is hide the database window when I display my own
forms. But I can see it appearing and disappearing in the background which is
not very professional.
Here is some simple code on a form_Load event.
' ************************************
Private Sub Form_Load()
DoCmd.Echo False
DoCmd.SelectObject acForm, "frmReports", True
RunCommand acCmdWindowHide
DoCmd.Echo True
End Sub
' ************************************
What's wrong with my way of doing?
Thanks.