If the db1, db2 are fully functional files, and you're working on the
network, then it may not be an error or permissions issue. If you're
using Access 2003 SP3, I think that it is a "bug" in SP3. I started
having this happen when they updated the SP, and apparently, we can't
uninstall the SP....
I don't know a workaround from code, except: 1. Do it on the local
drive (doesn't seem to be an issue there). 2) Figure out which db was
just created (the compacted one), rename (or delete) the original
file, and then rename dbx to the original file name. Both of these
solutions require some fancy coding (an external db, etc), so I'm not
doing that yet. I'm waiting to see if MS acknowledges and/or fixes the
bug...
On Oct 30, 9:34 am, BigTroubleInLittleChina
<BigTroubleInLittleCh...@discussions.microsoft.com> wrote:
> Hi,
> I have my databases configured to run compact and repair on shutdown. On
> occasion when the database does it compact and repair process, adb1.mdb is
> created and left behind after the database has finished its compact and
> repair process. The next time the database is accessed and closed another
> .mdb files is created this timedb2.mdb. The file is incremented everytime.
> Can anyone tell me the cause of this?
>
> Thanks,
> David.
|