Compact and Repair database, IS IT SAFE

Riaang

Board Regular
Joined
Aug 29, 2002
Messages
146
Hi all,

I know it is a simple question but is it safe to Compact and Repair a database.

I realize that it makes the file smaller but does it throw away any data, formulas or formats.

Please give me some peace of mind.

Thanks
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
It's a good idea and probably should be done on a weekly basis if you use the database a lot. Basically, the more you use the database (and particularly if you regularly modify the structure -- queries, forms, reports, new table fields) the more "holes" it gets.
Compact and repair removes the holes without destroying data, and makes the database less prone to crashing. And you don't want a crash -- recovering a corrupted database is not pretty. By the way, I probably don't need to say it but back up regularly too.

Denis
 
Upvote 0
I agree, Compact and Repair is just like defragging your hard drive, and it's a great thing!
 
Upvote 0

Forum statistics

Threads
1,221,552
Messages
6,160,462
Members
451,648
Latest member
SuziMacca

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top