M Mark Jul 8, 2004 #1 Is there any way to run the Compact and Repair Database Utility from VBA? If not VBA then VB.net? Thanks, Mark
Is there any way to run the Compact and Repair Database Utility from VBA? If not VBA then VB.net? Thanks, Mark
P Peter De Baets Jul 8, 2004 #2 See the CompactDatabase method. Ex.: DBEngine.CompactDatabase "Source path and filename", "Destination path and filename" Hope this helps, Peter De Baets Peter's Software - MS Access Tools for Developers http://www.peterssoftware.com
See the CompactDatabase method. Ex.: DBEngine.CompactDatabase "Source path and filename", "Destination path and filename" Hope this helps, Peter De Baets Peter's Software - MS Access Tools for Developers http://www.peterssoftware.com