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

Opening the database window from shortcut keys. 1

Status
Not open for further replies.

InkyRich

Technical User
Aug 2, 2006
126
GB
Hi,
I am trying to open the database window using the shortcut keys. I know how to set up the Autokeys but can anyone tell me the code I need to open the database window.
I have been trying the DoCmd.SelectObject class/member, can anyone tell me from here please.

Inky

A fool and his money are soon parted - so you might as well send it to me!
 
Do you mean F11, or do you mean show the database window?
 
Hi Remou,
No not F11.
I want to be able to access the database window from Autokeys when all the shortcut keys are disabled for security as a way of gaining access to the bottom end of the database when the application is locked to the customer.
Do you understand?

Inky


A fool and his money are soon parted - so you might as well send it to me!
 
Try selecting a know object, the True makes the DWwindow unhide.

DoCmd.SelectObject acTable, "Test", True
 
Yes, thanks Remou.
Its all working.

Have a star.

Inky

A fool and his money are soon parted - so you might as well send it to me!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top