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

opening database window

Status
Not open for further replies.

drewdaman

Programmer
Aug 5, 2003
302
CA
hi there everyone..

i was wondering if anyone knows how to add a button to open the database window. what i need to do is this... when my application is opened, i have to display a form called "Main Menu" and not the database window. i managed to do this by going to tools|startup. but, an additional requirement i have is to put a button on the main menu to open the database window. does anyone know how to do this?

thanks a lot!
 
Hi drewaman,

place below code inside new button click event to open database window.

DoCmd.SelectObject acTable, , True


Hope this helps... :)
Hasu
(Trust on someone, someone will trust you!)
 
or alternatively a short cut is to press F11 and it will open up the database window. (unless you have this option disabled.)
 
many thanks everyone... i guess you can see how new i am to this :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top