Y yjying Unregistered / Unconfirmed GUEST, unregistred user! 2000-05-25 #1 请问ACCESS中的数据记录删除后,为何文件大小没有改变,是不是该记录可恢复,如何恢复???
V vileo Unregistered / Unconfirmed GUEST, unregistred user! 2000-05-26 #3 同意:LawrenceZhang 工具—> 数据库实用工具 ->
L Lambert Unregistered / Unconfirmed GUEST, unregistred user! 2000-05-26 #4 请问,如何在Delphi中调用Access的压缩功能?
X xWolf Unregistered / Unconfirmed GUEST, unregistred user! 2000-05-26 #5 var AccessApp: variant; AccessApp := CreateOleObject('Access.Application'); AccessApp.DBEngine.CompactDatabase(Edit3.Text, 'F:/Temp/Compacted.mdb'); AccessApp := NULL;
var AccessApp: variant; AccessApp := CreateOleObject('Access.Application'); AccessApp.DBEngine.CompactDatabase(Edit3.Text, 'F:/Temp/Compacted.mdb'); AccessApp := NULL;
X xWolf Unregistered / Unconfirmed GUEST, unregistred user! 2000-05-26 #6 Edit3.Text为原文件名,'F:/Temp/Compacted.mdb'即为压缩后的文件名
L Lambert Unregistered / Unconfirmed GUEST, unregistred user! 2000-05-26 #7 多谢xWolf兄丈义相助,我已试过你的方法,取得成功,只是如果Access已加密如何解决?
X xWolf Unregistered / Unconfirmed GUEST, unregistred user! 2000-05-26 #8 //Password:Access密ma AccessApp.DBEngine.CompactDatabase( FileName, NewFileName, '', 0, ';pwd=' + Password);
//Password:Access密ma AccessApp.DBEngine.CompactDatabase( FileName, NewFileName, '', 0, ';pwd=' + Password);