Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Popping up database window 1

Status
Not open for further replies.

davidmulcair

Programmer
Jun 26, 2001
35
0
0
CA
My client wants the ability to access the db development window when in my security's 'admin' mode. Is there a line of code that will pop up this window? I want to attach it to a button..


Thanks

David
 
Hallo,

You can use:
Code:
  DoCmd.SelectObject acTable, "TableName", True
  DoCmd.RunCommand acCmdWindowHide
to select an existing table in the database window, then execute the Hide command from the Window menu
To unhide you just have to run the SelectObject line above

- Frink
 
Depending what the security is on the database you can have the user just hit F11 to popup a hidden database window. Or hold Shift as the database open in Access. Not sure how you have it setup, but these are the simple solutions. Scott Musich
Database Analyst/Programmer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top