A
acjin
Unregistered / Unconfirmed
GUEST, unregistred user!
我在用李颖的控件备份SQLSERVER数据库时,为什么会有这个错误:
“Table does not exist,
file or directory does not exist。
file:/delphi/dbo.sysobjects.db”
“d:/delphi/”是程序所在的目录,以下是备份相关代码,请各位帮帮忙!!
with form1.BDEDBBackup1 do
begin
tables.Clear;
conditions.Clear;
GetTableNames(tables,'*.*',true,true);
for I:=0 to tables.Count-1 do
begin
Conditions.Add('');
end;
FileName:='D:/db.dat';
try
Backup;
except
showmessage('出错!');
end;
“Table does not exist,
file or directory does not exist。
file:/delphi/dbo.sysobjects.db”
“d:/delphi/”是程序所在的目录,以下是备份相关代码,请各位帮帮忙!!
with form1.BDEDBBackup1 do
begin
tables.Clear;
conditions.Clear;
GetTableNames(tables,'*.*',true,true);
for I:=0 to tables.Count-1 do
begin
Conditions.Add('');
end;
FileName:='D:/db.dat';
try
Backup;
except
showmessage('出错!');
end;