■ DBEngine 클래스 : CompectDatabase 메소드를 사용해 MDB 파일 압축하기

----------------------------------------------------------------------------------------------------

Dim strSourceFilePath As String

Dim strTargetFilePath As String

 

strSourceFilePath = "c:\source.mdb"

strTargetFilePath = "c:\target.mdb"

 

DBEngine.CompactDatabase strSourceFilePath, strTargetFilePath

----------------------------------------------------------------------------------------------------

Posted by 사용자 icodebroker