A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Compact and repair db question



 
 
Thread Tools Display Modes
  #1  
Old October 21st, 2008, 03:58 PM posted to microsoft.public.access.tablesdbdesign
Flick Olmsford
external usenet poster
 
Posts: 95
Default Compact and repair db question

I am running Access 2003 on Windows Server 2003 / Windows XP SP2
workstations. I run the compact and repair option but the database does not
change size and I am left with a new file in the folder called db1, which is
a bit smaller.

Did the compact and repair fail or did it succeed and I just need to rename
the db1 file to the database?

I did not have to do this before.
  #2  
Old October 21st, 2008, 05:43 PM posted to microsoft.public.access.tablesdbdesign
John W. Vinson
external usenet poster
 
Posts: 18,261
Default Compact and repair db question

On Tue, 21 Oct 2008 07:58:00 -0700, Flick Olmsford
wrote:

I am running Access 2003 on Windows Server 2003 / Windows XP SP2
workstations. I run the compact and repair option but the database does not
change size and I am left with a new file in the folder called db1, which is
a bit smaller.

Did the compact and repair fail or did it succeed and I just need to rename
the db1 file to the database?

I did not have to do this before.


It did fail, or at least didn't run to completion. The way the Compact utility
works is to copy the database to a new database named db1 (or db2 if there
already is a db1, etc.); it then deletes the original database and renames db1
to the old name.

You will get this partial compact if you don't have rights to delete or rename
files in the database folder. Check the windows security settings on the
folder; you may want to have a different logon with elevated privileges if you
don't want to provide Delete privileges to users.
--

John W. Vinson [MVP]
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:42 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.