You have to be careful with this, though, with multiple users. If someone exits the database, then the database begins the Compact and Repair. If someone else opens the database file while it is in the process of Compacting/Repairing, then the db will copy itself, name the new, Compacted copy "DB1", and the original will not be Compacted/Repaired. I've had cases where, within 5 minutes, I had 4 or 5 copies of the same database within the same folder (DB1, DB2, DB3, etc.) because of users entering/exiting the db simultaneously! Because of this, I don't use the Compact On Close option; I just do it myself manually once a week or so.