Delphi 连接 DBF

      语言类学习笔记 2006-4-18 16:4
sVfpStr1 ='Provider=MSDASQL.1;Persist Security Info=False;Extended Properties="Driver={Microsoft Visual FoxPro Driver};'
+'UID=;SourceDB=%S;SourceType=DBF;Exclusive=No;BackgroundFetch=Yes;Collate=Machine;Null=Yes;Deleted=Yes;"';

sVfpStr2 ='Provider=MSDASQL.1;Extended Properties="Driver={Microsoft Visual Foxpro Driver};SourceType=DBF;SourceDB=%S;"';

sVfpStr3 = 'Provider=Microsoft.Jet.OLEDB.4.0;User ID=Admin;Data Source=.;Mode=Share Deny None;Extended Properties=dBASE 5.0;Jet OLEDB:System database=""; '+
'Jet OLEDB:Registry Path="";Jet OLEDB:Database Password="";Jet OLEDB:Engine Type=18;Jet OLEDB:Database Locking Mode=0;Jet OLEDB:Global Partial Bulk Ops=2;'+//Jet OLEDB:Don't Copy Locale on Compact=False
'Jet OLEDB:Global Bulk Transactions=1;Jet OLEDB:New Database Password="";Jet OLEDB:Create System Database=False;Jet OLEDB:Encrypt Database=False;Jet OLEDB:Compact Without Replica Repair=False;Jet OLEDB:SFP=False';

sVfpStr4= 'Provider=Microsoft.Jet.OLEDB.4.0;Data Source="%s";Extended Properties=dbase 5.0;';
标签集:TAGS:
回复Comments() 点击Count()

回复Comments

{commentauthor}
{commentauthor}
{commenttime}
{commentnum}
{commentcontent}
作者:
{commentrecontent}