执行下面语句时:
with ADODataset1 do
begin
try
ConnectionString:='Provider=Microsoft.Jet.OLEDB.4.0;Data Source='+ExtractFilePath(Application.ExeName)
+'db\LuckyDrawSystem.mdb;Persist Security Info=False;User Id=admin;Password=admin';
CommandText:='select * from table1';
Active:=true;
except
exit;
end;
end;
总会出现如下错误:
Project Project1.exe raised exception class EOleException with message'无法启动您的应用各式。工作群组的资料档案不见了或被另一个使用者以独占方式开启.'.Process stopped.Use Step or Run to continue.请问该错误是由什么原因引起的,如何处理呢?非常感谢~~~
with ADODataset1 do
begin
try
ConnectionString:='Provider=Microsoft.Jet.OLEDB.4.0;Data Source='+ExtractFilePath(Application.ExeName)
+'db\LuckyDrawSystem.mdb;Persist Security Info=False;User Id=admin;Password=admin';
CommandText:='select * from table1';
Active:=true;
except
exit;
end;
end;
总会出现如下错误:
Project Project1.exe raised exception class EOleException with message'无法启动您的应用各式。工作群组的资料档案不见了或被另一个使用者以独占方式开启.'.Process stopped.Use Step or Run to continue.请问该错误是由什么原因引起的,如何处理呢?非常感谢~~~
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货