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!

open a database programatically

Status
Not open for further replies.

ziwacky

Programmer
Jun 27, 2000
43
US
Can I open another database programatically so that user will have two instances of Access open. What my program does is that it executes some changes in another database and I want to avoid the user to have to go and open the new database to see the changes reflected. Can I write my code so that it opens up automatically?

Thank you,

Z
 
try the shell command

something like:

shell("Database path, name & openargs here"

James Goodman
j.goodman00@btinternet.com
 
See Help under OpenDatabase Method. Sounds like this is what you want. Either that or consider modifying your database so that the changes made in the other database are reflected in the current one so the user doesn't have to jump between applications.

Uncle Jack
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top