📜  如何在 vba 中压缩和修复访问数据库 - 无论代码示例

📅  最后修改于: 2022-03-11 14:56:09.729000             🧑  作者: Mango

代码示例1
If you want to compact/repair an external mdb file (not the one you are working in just now):

Application.compactRepair sourecFile, destinationFile

If you want to compact the database you are working with:

Application.SetOption "Auto compact", True