Compact and Repair a Database

This topic shows how to create a sample Visual Basic for Applications (VBA) function that you can use to repair tables deleted from an Access database.