This code worked with MDB, but I am now altering it for accdb. Code is as follows"
Dim cnn As New ADODB.Connection
Dim rst As New ADODB.Recordset
cnn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=C:\E_FORM\" & _
"Database1.accdb;"
rst.Open "Legacy3_filled", cnn, _
adOpenKeyset, adLockOptimistic
Does anything appear wrong? or am I using the wrong reference components ?
Terence
__._,_.___
.
__,_._,___
Tidak ada komentar:
Posting Komentar