procedure TDM.DataModuleCreate(Sender: TObject);
var con:string;
begin
try
con:='Provider=Microsoft.Jet.OLEDB.4.0;Data Source='+extractfilepath(paramstr(0))+'data.mdb;'+';Persist Security Info=False;Jet OLEDB:Database ';
cnn.ConnectionString:=CON;
cnn.Connected:=true;
except
end;
大家帮我看一下!
另http://community.csdn.net/Expert/topic/5158/5158997.xml?temp=.9777796中,算平均值的,(第一个已经解决)大家要是不嫌麻烦,也帮我看一下吧!
var con:string;
begin
try
con:='Provider=Microsoft.Jet.OLEDB.4.0;Data Source='+extractfilepath(paramstr(0))+'data.mdb;'+';Persist Security Info=False;Jet OLEDB:Database ';
cnn.ConnectionString:=CON;
cnn.Connected:=true;
except
end;
大家帮我看一下!
另http://community.csdn.net/Expert/topic/5158/5158997.xml?temp=.9777796中,算平均值的,(第一个已经解决)大家要是不嫌麻烦,也帮我看一下吧!
http://www.connectionstrings.com/
http://www.connectionstrings.com/?carrier=access