Re: My ritual question for each new version of Access since 2000
- From: "david epsom dot com dot au" <david@epsomdotcomdotau>
- Date: Fri, 2 Jun 2006 11:28:13 +1000
Well, if you are dumb enough to put two files in the same directory with
the same name, ms-access creates a locking file based on the filename.
Yes, this is the way Access works by default. MDE in the same folder as MDB,
and with the same project name.
But even if you call this dumb, the problem with locking is bigger than
that. It's not to difficult to lock up a file even if you are the only
user in a new instance of Access.
(david)
"Albert D.Kallal" <PleaseNOOOsPAMmkallal@xxxxxxx> wrote in message
news:Rsxfg.219740$WI1.4495@xxxxxxxxxxx
Well, if you are dumb enough to put two files in the same directory with
the same name, ms-access creates a locking file based on the filename.
So, even if you are not using library code, you always had to avoid this
problem.
The solution is to move out the mdb from the directory that created the
mde. Another solution is to name the mdb and the mde file differently.
As I pointed out in my other post, it is not really a big deal. You can't
have multiple users editing the code. However, you can edit the mdb used
to create the mde (if you move it to a different dir, or give it a
different name). Remember, even your workgroup file name has to be
different. I once made the mistake of naming my workgroup file the same
"prefix" name as the mdb. Don't do that!!
The reason is that ms-access also creates a .ldb file for EACH application
it opens (this includes workgroup files, and library files).
So if you have
mydb.mdb
mydb.mde
mydb.mdw
In the above 3 files, they all have the same prefix. Only ONE locking file
can be created called
mydb.ldb
so, tell me Sherlock, to which of the above 3 applications does the ldb
file apply to? You got a real mess here.
So, if the original poster simply adopts a naming convention, or simply
places the mdb file in a different directory then the mde file, then that
person CAN FREELY OPEN and edit the library mdb file.
The stated problem GOES AWAY. It is a trivial matter to avoid the original
posters problem. If you are telling me that the fact of ms-access creating
a ldb file based on the file prefix name is a problem, I have no beef with
that. However, this is not a new problem.
There is few, if any IDE's that allow multiple users into the same code
base at the same time. It is just not done, and the fact of this being
changed from a2000 onward is a moot point if one *slightly* changes their
development practices.
If a person can't adopt the simple and slight changes in their approach to
developing software, then I have to question that persons ability to
develop software.
The suggestions I made in other responses to this post are of a VERY minor
change in coding and approach. This changes will not result in ANY drop,
or loss of productivity in any measurable way that I can think of.
--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pleaseNOOSpamKallal@xxxxxxx
http://www.members.shaw.ca/AlbertKallal
.
- Follow-Ups:
- Re: My ritual question for each new version of Access since 2000
- From: w_a_n_n_a_l_l_ -
- Re: My ritual question for each new version of Access since 2000
- References:
- Re: My ritual question for each new version of Access since 2000
- From: david epsom dot com dot au
- Re: My ritual question for each new version of Access since 2000
- From: Albert D.Kallal
- Re: My ritual question for each new version of Access since 2000
- Prev by Date: Re: Eval error 2431
- Next by Date: Re: My ritual question for each new version of Access since 2000
- Previous by thread: Re: My ritual question for each new version of Access since 2000
- Next by thread: Re: My ritual question for each new version of Access since 2000
- Index(es):
Relevant Pages
|