G Guest Feb 13, 2006 #1 I need to programmatically (VB) hide or show the database window. How can I do this please? Access2002. Thanks!!
I need to programmatically (VB) hide or show the database window. How can I do this please? Access2002. Thanks!!
G Guest Feb 13, 2006 #2 Public Sub HideDBWindow() DoCmd.SelectObject acTable, , True DoCmd.RunCommand acCmdWindowHide End Sub Public Sub ShowDBWindow() DoCmd.SelectObject acTable, , True End Sub Stuart
Public Sub HideDBWindow() DoCmd.SelectObject acTable, , True DoCmd.RunCommand acCmdWindowHide End Sub Public Sub ShowDBWindow() DoCmd.SelectObject acTable, , True End Sub Stuart
G Guest Feb 13, 2006 #3 To hide use docmd.RunCommand acCmdWindowHide To show use docmd.RunCommand acCmdWindowUnhide Or, press the F11 key to unhide the database window
To hide use docmd.RunCommand acCmdWindowHide To show use docmd.RunCommand acCmdWindowUnhide Or, press the F11 key to unhide the database window
G Guest Feb 13, 2006 #4 Thanks! It worked perfectly! Stuart said: Public Sub HideDBWindow() DoCmd.SelectObject acTable, , True DoCmd.RunCommand acCmdWindowHide End Sub Public Sub ShowDBWindow() DoCmd.SelectObject acTable, , True End Sub Stuart Click to expand...
Thanks! It worked perfectly! Stuart said: Public Sub HideDBWindow() DoCmd.SelectObject acTable, , True DoCmd.RunCommand acCmdWindowHide End Sub Public Sub ShowDBWindow() DoCmd.SelectObject acTable, , True End Sub Stuart Click to expand...