Programatically hide and unhide the database window

G

Guest

Hey!

I don't know if this is the appropriate place, but I've looked and can not
find a vba way to hide and unhide the database window?

Can anyone point me in the right direction?

Thank you!

Patrick
 
J

John Mishefske

Patrick said:
Hey!

I don't know if this is the appropriate place, but I've looked and can not
find a vba way to hide and unhide the database window?

No, it isn't the right group. comp.databases.ms-access would have been a good group to ask.

http://www.mvps.org/access/general/gen0031.htm

You can display the Database window by using the SelectObject:

DoCmd.SelectObject acTable, , True

and you can hide it using a DoCmd.RunCommand:

DoCmd.SelectObject acTable, , True
DoCmd.RunCommand acCmdWindowHide

I believe there is code to determine if the DatabaseWindow is open here:

http://www.mvps.org/access/api/api0069.htm
 
G

Guest

Thank you!

How would I find

"comp.databases.ms-access "

It doesn't appear in the communities window [at least that I can find] on
the support site. . .

Thank yoU!
 
J

John Mishefske

Patrick said:
How would I find

"comp.databases.ms-access "

It doesn't appear in the communities window [at least that I can find] on
the support site. . .

"comp.databases.ms-access" is a UseNet group. I assumed you accessed this UseNet group
using a News reader software of some type. You would use that software to list the news
groups, find that one and subscribe to it.

If you are using a web browser then you might try the archives at Google Groups:

http://groups.google.com/group/comp.databases.ms-access?hl=en&lr=&ie=UTF-8
 

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