programmatically hiding/unhiding the Database window

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
 
A

Allen Browne

SelectObject with True for the InDatabaseWindow argument will display the
(nameless) object, and therefore the db window.
 
G

Guest

-----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

Top