473,394 Members | 2,020 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Database1.mdb does not delete after compact

I've got several Access 2000 databases that are currently being run
with Access 2007.

When the databases close, I've got them set to compact on close. This
creates the database1.mdb file, however once the database has finished
compacting and the database is closed, the database1.mdb still remains
in the folder. As a result, the next time the database closes, it
creates a database2, which it does not delete, and this continues each
time the database is closed.

This appears to ponly be happening on the databases that I have up on
my company's network, but does not happen on the databases I have on
my local C:\ drive.

Does anyone know why this would happen, and how to fix it?
Aug 6 '08 #1
2 5124
I am experiencing the exact same problem and would love to hear the
solution to this...

J. D.

Aug 6 '08 #2
JvC
My guess is you don't have delete rights on the network drive. When you
do the compact, you have to delete the original mdb and then rename the
database1.mdb version. Check with your network admin, and they should
be able to sort it out.

A second possibility, and an ugly one, is that you have multiple users
opening the database on the network. In that case, user 2 can't delete
the database because someone else has it opened, and the numbered
versions hang around.

Good luck!

John

Icarus formulated the question :
I've got several Access 2000 databases that are currently being run
with Access 2007.

When the databases close, I've got them set to compact on close. This
creates the database1.mdb file, however once the database has finished
compacting and the database is closed, the database1.mdb still remains
in the folder. As a result, the next time the database closes, it
creates a database2, which it does not delete, and this continues each
time the database is closed.

This appears to ponly be happening on the databases that I have up on
my company's network, but does not happen on the databases I have on
my local C:\ drive.

Does anyone know why this would happen, and how to fix it?

Aug 6 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Randy Gordon | last post by:
Say I do the following: char **names = new char*; for (int i = 0; i < 100; i++) { names = new char; } When I'm done with the array of character pointers, how should I delete it? Like this:
3
by: hs | last post by:
hi, If I have a C struct in C++ like the following: struct { int a; int b; int c; char d; char *ptr;
1
by: ColinWard | last post by:
Hello everyone. happy new year. I am trying to code an exit button for my application so that it automatically compacts the database when the user exits the app. Is this necessary or does the...
2
by: ApexData | last post by:
Hello I have finally completed an application and am preparing to install it on a network of 10 users. The application will be split FE/BE. The application has its own login, which controls...
5
by: mkaushik | last post by:
Hi everyone, Im just starting out with C++, and am curious to know how "delete <pointer>", knows about the number of memory locations to free. I read somewhere that delete frees up space...
12
by: yufufi | last post by:
Hello, How does delete know how much memory to deallocate from the given pointer? AFAIK this informations is put there by new. new puts the size of the allocated memory before the just before...
9
by: Ron | last post by:
New discovery. If I take a perfectly good database, and "compact/repair" on it with Access 2000 (seems to be at multiple sites--I've tried it with my system here, at another office on an...
5
by: michael | last post by:
Hi All, I have the following: const int LENGTH = 5; void limitNameLength(string inText, char *&outText, int outLength){ if(static_cast<int>(inText.length()) outLength){ inText =...
0
by: pawera | last post by:
Hi Everybody ! I`ve got a problem with developing application which is to be run on PDA (MIO A701 with WIndows Mobile 5). I`m trying to create application in Visual Basic NET using NET Compact...
1
by: pknapke | last post by:
*WeightCheck is a dataset connected to a mdf SQL server file *Datagrid on form is bound to the dataset *This code executes because datagrid on form updates with the deletions *Exit application and...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.