Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Multiuser / Networking / April 2005

Tip: Looking for answers? Try searching our database.

Determining if an MDB has been opened twice, or if a given code pr

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Brad Ashforth - 22 Apr 2005 03:50 GMT
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.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.