Is there a way to Determine if an MDB has been opened twice, or if a given
code process is currently running? I have a client who makes multiple copies
of the .mdb and occasionally opens more than one, and each has full copies of
code and linked tables, and there is a process that should NOT be run
concurrently.
I've suggested storing a flag in one of the linked tables, but that is not
the client's preferred approach .. they would prefer something like VBs
"App.PreviousInstance", but not on the whole .mdb, just on the code (sub)
that's running. I don't think this is possible, but thought I'd check first.

Signature
Thank you,
Brad Ashforth
Van T. Dinh - 22 Apr 2005 05:28 GMT
In that case, you should try implementing the code from The Access Web
article:
http://www.mvps.org/access/api/api0041.htm

Signature
HTH
Van T. Dinh
MVP (Access)
> Is there a way to Determine if an MDB has been opened twice, or if a given
> code process is currently running? I have a client who makes multiple copies
[quoted text clipped - 6 lines]
> "App.PreviousInstance", but not on the whole .mdb, just on the code (sub)
> that's running. I don't think this is possible, but thought I'd check first.