A family of Microsoft relational database management systems designed for ease of use.
Sure, it's possible. On my website is a small Access database which illustrates how(CompactDatabase.mdb). But as Dirk mentioned, there is the problem of starting the process where you left off. I think that problem is solveable, but I don't have a ready made example. It could be incorporated into the CompactDatabase process, though.
However, it would probably be simpler if you just programmatically created a temporary database (or more than one if necessary), created and manipulated your data, then destroyed the temp database. I have another sample that illustrates this that is used for importing large amounts of data (ImportToTempDatabase.mdb), but the idea could be extended to your situation.
--Roger Carlson MVP