Run-time error '-2147417848 (80010108)':
Method 'Recordset' of object 'IAdodc' failed
Method 'Recordset' of object 'IAdodc' failed
Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.
View products that this article applies to.
Date Version Size File name Platform ----------------------------------------------------------- 09/08/2000 2.51.5708.0 487,696 Msado15.dll x86
Private Sub Command1_Click()
Dim conn As ADODB.Connection
Dim rs As ADODB.Recordset
Set conn = New Connection
' Point this to NorthWind.mdb sample database.
conn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=NorthWind.mdb"
Set rs = New Recordset
rs.CursorLocation = adUseServer
Set rs.ActiveConnection = conn
rs.Properties("IRowsetIdentity").Value = True
rs.Open "Customers", , adOpenKeyset, adLockOptimistic, adCmdTableDirect
Set Adodc1.Recordset = rs
End Sub
Keywords: KB271461, kbmdac260fix, kbmdac250sp2fix, kbfix, kbbug, kbado260fix, kbhotfixserver, kbqfe