Article ID: 142926
Article Last Modified on 5/7/2003
Private Sub Command1_Click()
MSRDC1.Resultset.Edit
End Sub
Private Sub Command2_Click()
On Error GoTo ehUpdate
MSRDC1.Resultset.Update
ehUpdate:
Dim r As rdoError
For Each r In rdoErrors
Debug.Print "ehUpdate: ", r.Number, r.Description
Next r
rdoErrors.Clear
Resume Next
End Sub
Private Sub MSRDC1_Error(ByVal Number As Long, _
Description As String, ByVal Scode As Long, _
ByVal Source As String, ByVal HelpFile As String, _
ByVal HelpContext As Long, CancelDisplay As Boolean)
Select Case Number
Case 56524 '"No current row" error
' proper error handling
Case Else
' other error handling
End Select
Debug.Print "MSRDC1_Error: ", Number, Description
CancelDisplay = True ' don't display default error handling
End Sub
Additional query words: kbVBp400 kbVBp600 kbdse kbDSupport kbVBp
Keywords: kbprb KB142926