473,395 Members | 1,541 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,395 software developers and data experts.

Compact and Close creates new database

10
Hi all

I have 15 users using my Access 2003 (OS Server 2003) database. Out of the 15 (all of whom have exactly the same permissions), one user creates a new database everytime he opens and closes the database. I've tried giving him full access rights, put him into the Power User group etc, but this is still happening.

Any clue as to what is happening here?

Regards
Esprit
Oct 5 '07 #1
7 6821
NeoPa
32,556 Expert Mod 16PB
Can you explain a bit more clearly what happens when this user uses the database. From your description you would end up with 3 copies of the database every time he has a session.
Oct 5 '07 #2
Ericks
74
Hi all

I have 15 users using my Access 2003 (OS Server 2003) database. Out of the 15 (all of whom have exactly the same permissions), one user creates a new database everytime he opens and closes the database. I've tried giving him full access rights, put him into the Power User group etc, but this is still happening.

Any clue as to what is happening here?

Regards
Esprit
I encounter the same problem when one enters a new record to a (query) sub form by means of a pop up form. The record entered on this popup is not "linked" to anything, gets lost in the database and at that point, when compressing the database it creates a new database called db1, 2 or whatever. Turning off the auto compress function will not create a different database but you still have the problem of lost data.
Oct 6 '07 #3
MMcCarthy
14,534 Expert Mod 8TB
The basic rule is Compact on Close will create a copy of the database if there are any other users with the application open at the time.
Oct 11 '07 #4
MThomp
2
We are having this same problem with all network databases. New database is created everytime the database is open and closed unless compact on close is disabled. Seems to possibly be tied into the Office 2003 SPS 9/17/2007 update.

Looking for anyone who has found the problem and/or identified the solution.
Nov 9 '07 #5
MMcCarthy
14,534 Expert Mod 8TB
We are having this same problem with all network databases. New database is created everytime the database is open and closed unless compact on close is disabled. Seems to possibly be tied into the Office 2003 SPS 9/17/2007 update.

Looking for anyone who has found the problem and/or identified the solution.
Assuming you are using a backend/frontend application. Give all users their own copy of the frontend application. This way there is only one user of each frontend. As long as they all point to the same backend data it shouldn't be a problem.
Nov 9 '07 #6
MThomp
2
Assuming you are using a backend/frontend application. Give all users their own copy of the frontend application. This way there is only one user of each frontend. As long as they all point to the same backend data it shouldn't be a problem.
We are actually using a front end/back end. If you remove the compact on close from the front end, no problem (not necessary anyway). The backend is still used to reload data and unless you remove the compact on close, it appears that the compact and repair never completes. It creates a db1.mdb, moves everything in, but never renames and deletes the original. So you end up with db1.mdb, db2.mdb etc. And a non compacted database.

The short term solution is of course, to remove the automatic compact on close, do it manually on the hard drive and copy to the network. I am curious as to why this is only a problem on the network. And I am hoping for a more long term solution that does not rely on the person reloading to move the database down and compact it manually.

I am finding more of this issue on other forums, at this point I have narrowed the suspects down to one. The SP3 service pack. I guess we will have to wait for Microsoft to notice the complaints and come up with a fix.
Nov 9 '07 #7
NeoPa
32,556 Expert Mod 16PB
I've always felt the compact on close option was so utterly ridiculous that I haven't used it.
Whoever came up with such an obviously flawed concept must have been Microsoft.
They only provided it to absolve themselves of the responsibility for providing on-the-fly compacting (Or any other useful solution). A Compact & Repair needs to be done when the database is unused. This has to be planned anyway, so there's no benefit I can see for having it run automatically (other than to the designers of the software when discussing responsibility for something corrupting or failing).
Nov 9 '07 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

35
by: Mike MacSween | last post by:
Is it?
13
by: James Franklin | last post by:
Hi, I have a number of databases in A2K, written on different machines with different installations of Office. I have found that compacting a database while it is open regularly fails, seemingly...
2
by: lestersal | last post by:
How would I compact a database on Open using code? I presume I'd have to use the Autoexec macro but what code do I put in the procedure called by Autoexec? Thanks, Alistair
13
by: Larry L | last post by:
Access is noted for bloating a database when you add and delete records frequently. I have always had mine set to compact on close, and that works great. Now after everyone's advice I split my...
3
by: Trevor Hughes | last post by:
Hello All I have a database (Access 2000, running on Win 2000), which suffers from bloat over a period of time. In order to solve the problem I set the option to compact on exit. This however...
1
by: smitty mittlebaum | last post by:
I have a strange problem that has reared its ugly head in the last few weeks. I have the option "Compact on Close" (Tools, Options, General tab) enabled on my development machine. I did this...
5
by: Susan Bricker | last post by:
Greetings. I just discovered the 'Compact on Close' option in Access-Tools-Options-General Tab. It certainly sounds like a smart idea to me. But before I turn that option on I thought I'd check...
1
by: Mark | last post by:
Hi all, I have a Access 2002 FE/BE scenario where the BE is stored on a network drive. Due to the amount of importing/deleting, the database bloats quite a lot. UP until now, I have been booting...
29
by: Neil | last post by:
I would like to compact on close only if the database size goes over a certain amount, rather than each time. Thus, I'd like to check the file size and then perform the compact through code as the...
2
by: Icarus | last post by:
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,...
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:
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...

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.