To show it again, use SelectObject to select anything, and use True for the
InDatabaseWindow argument.
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"Peter K" <per...@kaasen.plus.com> wrote in message
news:yEjvb.11153$lm1....@wards.force9.net...
Change the acTable to one of the other intrinsic constants if you want to
view a different tab on showing the window.
Private Sub HideDB_Click()
With DoCmd
.SelectObject acTable, "", True
.RunCommand acCmdWindowHide
End With
End Sub
Private Sub ShowDB_Click()
DoCmd.SelectObject acTable, "", True
End Sub
Terry
"Peter K" <per...@kaasen.plus.com> wrote in message
news:yEjvb.11153$lm1....@wards.force9.net...