Sub CompactDB()
On Error GoTo CompactDB_Err
Const conFilePath = "C:\Windows\My Database\"
' Compact the database to a temp file.
DBEngine.CompactDatabase "C:\Windows\My Database\manojvb.mdb", "C:\Windows\My Database\manojvb1.mdb"
' Delete the previous backup file if it...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.