Isaac
Lifelong Learner
- Local time
- Today, 04:56
- Joined
- Mar 14, 2017
- Messages
- 11,108
I have a machine where an Access db is going to be running all the time, doing some timer/scheduling related things.
Due to code running often, it might be more or less "frozen" at times, in the way that these Office apps freeze while code is running.
During this same time, a client may want to double-click a desktop icon that opens a different Access db, for a different purpose.
If they do this, quite possibly, they will sit there while 'nothing' happens, wondering why Access isn't opening......Because the SAME (SINGLE) Access app instance, is trying to also open their second db.
One way I was hoping to get around this was to use VBScript to open the second db in a new application instance.
But:
....doesn't work for accdr
Is there another solution? I kind of wanted to keep using accdr
Due to code running often, it might be more or less "frozen" at times, in the way that these Office apps freeze while code is running.
During this same time, a client may want to double-click a desktop icon that opens a different Access db, for a different purpose.
If they do this, quite possibly, they will sit there while 'nothing' happens, wondering why Access isn't opening......Because the SAME (SINGLE) Access app instance, is trying to also open their second db.
One way I was hoping to get around this was to use VBScript to open the second db in a new application instance.
But:
Code:
dim accessapp
set accessapp = createobject("access.application")
accessapp.opencurrentdatabase("path to file.accdr")
accessapp.usercontrol=true
....doesn't work for accdr
Is there another solution? I kind of wanted to keep using accdr