Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 204
  • Last Modified:

Call another access database from inside an access database

When inside an access database, I would like call another access database and close the current one.

How can I do that please?

0
snyperj
Asked:
snyperj
1 Solution
 
Rey Obrero (Capricorn1)Commented:


sub openotherdb()
dim acObj as object
set acObj=createObject("access.application")
     acObj=opencurrentdatabase(<path to the other db>)
     acObj.usercontrol=true
docmd.quit

end sub
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now