Hello,
I need to read data from a .dbf file. i am trying to take data from the dbf file and inserting it into a ADO recordset.
Dim dbfConn As ADODB.Connection
Dim rs As ADODB.Recordset
Set dbfConn = New ADODB.Connection
Set rs = New ADODB.Recordset
dbfConn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & ";Extended Properties=dBASE IV;User ID=Admin;Password="
rs.Open "select * from arreceipt.dbf", dbfConn, adOpenStatic, adLockOptimistic
I m getting error:
The Microsoft Jet database engine could not find the object 'arreceipt.dbf'. Make sure the object exists and that you spell its name and the path name correctly.
Can anyone help me in resolving this problem or suggest any other way to read the DBF file.
Thanks
AV
I need to read data from a .dbf file. i am trying to take data from the dbf file and inserting it into a ADO recordset.
Dim dbfConn As ADODB.Connection
Dim rs As ADODB.Recordset
Set dbfConn = New ADODB.Connection
Set rs = New ADODB.Recordset
dbfConn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & ";Extended Properties=dBASE IV;User ID=Admin;Password="
rs.Open "select * from arreceipt.dbf", dbfConn, adOpenStatic, adLockOptimistic
I m getting error:
The Microsoft Jet database engine could not find the object 'arreceipt.dbf'. Make sure the object exists and that you spell its name and the path name correctly.
Can anyone help me in resolving this problem or suggest any other way to read the DBF file.
Thanks
AV