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!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top