Compact an Access database or Access project automatically when you close it
Microsoft Access can automatically compact a Microsoft Access database or Microsoft Access project every time you close it.
- Open the Access database or Access project that you want Microsoft Access to compact automatically.
- On the Tools menu, click Options.
- Click the General tab.
- Select the Compact On Close check box.
Note Compacting does not occur if you close a multiuser (shared) database while another user has it open.