programmatically hiding/unhiding the Database window

  • Thread starter Thread starter Terrell Miller
  • Start date Start date
T

Terrell Miller

got an app that hides the Database window on startup.

Trying to add VBA code for a "database maintenance" button
on the main menu that will simply unhide this window.

Tried DoCmd.RunCommand acCmdWindowUnhide, get a runtime
2046 error that "WindowUnhide isn't available now".

Pursuing wild geese trying to nail the syntax, please help!

Thanks,

Terrell
 
SelectObject with True for the InDatabaseWindow argument will display the
(nameless) object, and therefore the db window.
 
-----Original Message-----
SelectObject with True for the InDatabaseWindow argument will display the
(nameless) object, and therefore the db window.

Thanks, Alan!
 
Back
Top