Connecting Tech Pros Worldwide Help | Site Map

Hide/Unhide Database Window

 
LinkBack Thread Tools Search this Thread
  #1  
Old November 12th, 2005, 03:44 PM
Peter K
Guest
 
Posts: n/a
Default Hide/Unhide Database Window

How do I Hide/Unhide the Main Database Window in VB?



  #2  
Old November 12th, 2005, 03:44 PM
Allen Browne
Guest
 
Posts: n/a
Default Re: Hide/Unhide Database Window

To hide the database window on startup:
Tools | Startup | Database window.

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" <perove@kaasen.plus.com> wrote in message
news:yEjvb.11153$lm1.80361@wards.force9.net...[color=blue]
> How do I Hide/Unhide the Main Database Window in VB?
>
>[/color]


  #3  
Old November 12th, 2005, 04:10 PM
Terry Kreft
Guest
 
Posts: n/a
Default Re: Hide/Unhide Database Window

Peter,
This code has been posted hundreds of time.

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" <perove@kaasen.plus.com> wrote in message
news:yEjvb.11153$lm1.80361@wards.force9.net...[color=blue]
> How do I Hide/Unhide the Main Database Window in VB?
>
>[/color]


 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,662 network members.