locked
Hide Navigation Pane doesn't work RRS feed

  • Question

  • I'm running code from the autoexec macro that uses the transferdatabase method to relink tables. This is causing the option to hide the navigation pane to no longer work.

    Is there code out there to hide the navigation pane? In older versions there was a macro action to hide the database window.

    Thursday, October 28, 2010 3:39 PM

Answers

  • jeanhu wrote:

    I'm running code from the autoexec macro that uses the
    transferdatabase method to relink tables. This is causing the option
    to hide the navigation pane to no longer work.

    Is there code out there to hide the navigation pane? In older
    versions there was a macro action to hide the database window.

    It should still work as in previous versions with the db window:

    DoCmd.SelectObject acTable, , True
    RunCommand acCmdWindowHide


    cu
    Karl
    *******
    Access-FAQ (German/Italian): http://www.donkarl.com

    Thursday, October 28, 2010 3:49 PM

All replies

  • jeanhu wrote:

    I'm running code from the autoexec macro that uses the
    transferdatabase method to relink tables. This is causing the option
    to hide the navigation pane to no longer work.

    Is there code out there to hide the navigation pane? In older
    versions there was a macro action to hide the database window.

    It should still work as in previous versions with the db window:

    DoCmd.SelectObject acTable, , True
    RunCommand acCmdWindowHide


    cu
    Karl
    *******
    Access-FAQ (German/Italian): http://www.donkarl.com

    Thursday, October 28, 2010 3:49 PM
  • Nope, doesn't work.
    Jean Husa
    Thursday, October 28, 2010 4:40 PM
  • Maybe acForm instead of acTable or it doesn't matter?
    Andrey V Artemyev | Saint-Petersburg, Russia
    Thursday, October 28, 2010 5:38 PM
  • Actually - I put this into a second function and called it after the one that re-links the table and it works! Thanks

     


    Jean Husa
    Thursday, October 28, 2010 5:38 PM