Ideally you shouldn't need to compact the data portion too often. You can look at adding some code dbengine.CompactDatabase to your Front-End. If you are in a multi-user environment keep in mind that no one else can be using the database when you are compacting it.