紧急求助!!!(怎么用ADO访问Foxpro(*.dbf)数据库!!!!!
我用以下代码访问但不对,请高手赐教。Dim MyCn As ADODB.Connection<BR>Dim MyRs As ADODB.Recordset
Set MyCn = New ADODB.Connection<BR>Set MyRs = New ADODB.Recordset
MyCn.Open "Driver={Microsoft Visual FoxPro Driver};" & _<BR> "SourceType=DBF;" & _<BR> "SourceDB=e:\Data\;" & _<BR> "Exclusive=No;\"<BR>MyRs.Open "select * from Student.dbf", MyCn, adOpenDynamic, adLockReadOnly
页:
[1]