Results 1 to 2 of 2
  1. #1
    3 Star Lounger
    Join Date
    Mar 2006
    Location
    Pittsburgh, Pennsylvania, USA
    Posts
    289
    Thanks
    0
    Thanked 1 Time in 1 Post

    Make database window visible (2003 sp3)

    I normally hide the database window when my applications are opened. Users often forget the F11 key will make it visible so I thought I would place a button on the menu that simply uses SendKeys vbKeyF11. However it doesn't work. How can I use a button to make the window visible?
    Thanks
    chuck

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Make database window visible (2003 sp3)

    The following line of code will make the Database window visible and activate the Tables section:

    DoCmd.SelectObject acTable, , True

    If you want to activate the Forms section, use acForm instead of acTable, etc.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •