我用的连接串如下
MConnStr:='Provider=MSDASQL.1;Persist Security Info=False;';
MConnStr:=MConnStr+'Extended Properties="';
MConnStr:=MConnStr+'DRIVER={Microsoft Paradox Driver (*.db )}";';
MConnStr:=MConnStr+'Initial Catalog='+MDirPath;
或
MConnStr:='Provider=Microsoft.Jet.OLEDB.4.0;';
MConnStr:=MConnStr+'Data Source='+MDirPath+';';
MConnStr:=MConnStr+'Extended Properties=Paradox 7.x;';
MConnStr:=MConnStr+'Persist Security Info=False';经本人测试这两种都可以,
不过我常用的是前一项!
MConnStr:='Provider=MSDASQL.1;Persist Security Info=False;';
MConnStr:=MConnStr+'Extended Properties="';
MConnStr:=MConnStr+'DRIVER={Microsoft Paradox Driver (*.db )}";';
MConnStr:=MConnStr+'Initial Catalog='+MDirPath;
或
MConnStr:='Provider=Microsoft.Jet.OLEDB.4.0;';
MConnStr:=MConnStr+'Data Source='+MDirPath+';';
MConnStr:=MConnStr+'Extended Properties=Paradox 7.x;';
MConnStr:=MConnStr+'Persist Security Info=False';经本人测试这两种都可以,
不过我常用的是前一项!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货