ACC2000: Database Doesn't Shrink Automatically When Object Is Deleted (197591)
The information in this article applies to:
This article was previously published under Q197591 Novice: Requires knowledge of the user interface on single-user computers.
SYMPTOMS
When you delete an object in Microsoft Access, the size of the database
remains the same or gets larger after the deletion.
CAUSE
Deleting objects from a database does not automatically cause the database
to shrink in size. This is because, when an object is deleted, the space
that it occupies is marked as available. However, the size of the database
does not shrink.
RESOLUTION
If you are deleting objects from a database and you want the database to
return to its previous size, you should compact the database.
One of the new features in Microsoft Access 2000 is compact on close. When
you use this feature, Access automatically compacts the database each time
that you close it. To use the compact on close feature, follow these steps:
- On the Tools menu, click Options.
- Click the General tab.
- Click to select the Compact On Close check box, and then click OK.
REFERENCESFor more information about reducing the size of a database, click Microsoft Access Help on the Help menu, type compacting an access database or access project in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
For more information about compact on close, click Microsoft Access Help on the Help menu, type compact anaccess database or access project automatically every time you close it in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
Modification Type: | Minor | Last Reviewed: | 7/15/2004 |
---|
Keywords: | kbprb KB197591 |
---|
|