Unhiding database-window

T

Tellu

When my Access starts I get an own main form. The database-window is hided. I
want to put a button to my main form which brings the database-window
unhided. How can I do this the simpliest way.
 
T

Tellu

I want to link the showing of my batabase-window to the button. With the
macro command RunCommand-WindowShow i get it but I have to choose it from the
list. It should come automatic.
 
F

freakazeud

Hi,
You can use the following on the on click event of your button:

To show the database window, run
Docmd.SelectObject acTable, , True

To Hide the database window, run
Docmd.SelectObject acTable, , True
Docmd.RunCommand acCmdWindowHide

HTH
Good luck
 

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