Dim con As Connection Set con = New Connection con.ConnectionString = "provider=msdasql;DRIVER=Microsoft Visual FoxPro Driver;UID=;Deleted=yes;Null=no;Collate=Machine;BackgroundFetch=no;Exclusive=No;SourceType=DBF;SourceDB=e:\test;" con.Open Dim sql As String sql = "create table test1 (number int)" con.Execute sql用上面的代码能成功的建立了一个.DBF的数据表,但是这个表却不在我指定的目录下。
Set con = New Connection
con.ConnectionString = "provider=msdasql;DRIVER=Microsoft Visual FoxPro Driver;UID=;Deleted=yes;Null=no;Collate=Machine;BackgroundFetch=no;Exclusive=No;SourceType=DBF;SourceDB=e:\test;"
con.Open
Dim sql As String
sql = "create table test1 (number int)"
con.Execute sql用上面的代码能成功的建立了一个.DBF的数据表,但是这个表却不在我指定的目录下。