![]() |
CompactDatabase.mdb (advanced) |
Post Reply ![]() |
Author | |
Roger Carlson ![]() Microsoft MVP ![]() Joined: 20 Feb 2008 Status: Offline Points: 261 |
![]() ![]() ![]() ![]() ![]() Posted: 01 Aug 2008 at 7:16am |
Please consider donating $1 per sample downloaded, find out why here.
CompactDatabase.mdb This sample illustrates how to compact the current database programmatically. It assumes that the tables reside locally. (To compact a Back-end database, see my sample "CompactBackEndDB.mdb".)
Overview: This can be used to safely duplicate the buggy "Compact on Close" feature of Access 2000, because it makes a back-up of the database before compacting it. If anything goes wrong, you can easily recover the uncompacted database. |
|
|
|
![]() |
|
Sponsored Links | Want a good read? Try The Summer of His Life (available on Amazon!) |
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |