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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

command button: display database window 1

Status
Not open for further replies.

Fredgarner

Technical User
Jul 21, 2005
29
GB
How can I make a command button that sends the user to the database window? I do not want to rely on F11 as some of the users will not be very computer-literate.
 
Have you tried this ?
SendKeys "%{F11}"

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
OOps, sorry for the typo:
SendKeys "{F11}"

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
DoCmd.SelectObject acTable, , True

This will open the database window to the tables tab

DoCmd.SelectObject acForms, , True

This will open the database window to the forms tab

DoCmd.SelectObject acQuery, , True

This will open the database window to the queries tab

and so forth

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top