Ludkiewicz
asked on
open dbf in vb6 and open recordset
I'm trying to open a foxpro DBF in vb6 and then use sql to open a record set/delete records/appen records/update records, so far all I have managed to do is open the dbf, dont seem to be able to do anything else??
Mydb.Open "DSN=Visual FoxPro Tables;UID=;PWD=;SourceDB=" & _
App.Path & "\mom_import.dbf" & _
";SourceType=DBF;Exclusive=No;BackgroundFetch=Yes;Collate=Machine;Nu ll=No;" & _
"Deleted=Yes;"
sqlStr = "SELECT * from mom_import.dbf"
rst.Open sqlStr, Mydb, adOpenForwardOnly, adLockReadOnly, adCmdText
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
That is a reasonable assumption.
ASKER