Unhiding the Database Window

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have hidden the database window on startup, by unchecking the box in tools
startup. I assume it is just hidden and I want to turn the visibility back on
using VB. I don't know the name of it. My guess of

databasewindow.visibility = true, did not work.

What do you call this thing? and how could I have found this out myself?

Thanks again.
 
apollo8359 said:
I have hidden the database window on startup, by unchecking the box in tools
startup. I assume it is just hidden and I want to turn the visibility back on
using VB. I don't know the name of it. My guess of

databasewindow.visibility = true, did not work.

What do you call this thing? and how could I have found this out myself?

There is no *direct* way, but this will do it...

DoCmd.SelectObject acTable, "AnyTableName", True

How: The final argument indicates to select the object "in the db window". If
the db window is hidden it must be shown to satisfy that argument.
 
Thanks Rick, that worked, little wierd that you can't reference it, but I'll
take the workaround.
 
Rick Brandt said:
There is no *direct* way, but this will do it...

DoCmd.SelectObject acTable, "AnyTableName", True

How: The final argument indicates to select the object "in the db
window". If the db window is hidden it must be shown to satisfy that
argument.

For what it's worth, you don't have to specify a table. You can leave
that argument out:

DoCmd.SelectObject acTable, , True
 
Thanks, Dejan,

i am also looking for a solution with the same problem (some colleague have
hidden the DB window)
What i am sure of, there is a combination of .... key while doubleclicking
to the mdb file (opening it WITH the DB window and also with the preferences)


thanks & regards,
ANdras
(Hungary)
 
Thanks again, SusanV,
however, this does not work, for any reason (i also recalled to this method,
tried it and failed...)
i use Access2003

Thanks a lot, ANdras
 
Back
Top