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 / Database Design / December 2004

Tip: Looking for answers? Try searching our database.

Creating New Table After Compact

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
GettingIrritated - 03 Dec 2004 15:09 GMT
I have set my database to Compact On Close.  It compacts and closes ok BUT it
then creates an all new database.  You cannot open the database and it is a
massively smaller database but it is still like 62 MB (the original is 2 GB).
Has anyone else had this problem and does anyone know how to fix this
problem?

I have worked with databases for years and I have never come across this
problem before!  HELP!
John Vinson - 03 Dec 2004 19:21 GMT
>I have set my database to Compact On Close.  It compacts and closes ok BUT it
>then creates an all new database.  You cannot open the database and it is a
[quoted text clipped - 4 lines]
>I have worked with databases for years and I have never come across this
>problem before!  HELP!

You may have a corrupt database; 2 GByte is the limit, and once a
database exceeds that limit, strange things can happen.

Creating a new database is exactly how Compact works: it creates a new
database (named db1.mdb, or db2.mdb or the like if that file already
exists), copies everything from your database into it, and deletes the
old database. However, if the copy process cannot be completed because
of corruption, you may end up with both copies; or if you do not have
Delete permission on the folder containing the database it may keep
the old file around.

                 John W. Vinson[MVP]    
            Join the online Access Chats
       Tuesday 11am EDT - Thursday 3:30pm EDT
     http://community.compuserve.com/msdevapps
 
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.