-
Multiple-step operation generated errors!!!!!!!!!
Visual Basic 6 SP5
ADO 2.6.
SQL Server 2000
I try to handel all errors that generated by ADO when user update Recordset.
I do the following to samiulate data entry mistaks:
Public Sub TestADO
rst(0) = "TEST" ' rst(0) is a Long field
rst.Update
Exit Sub
ErrorHandel:
If Connection.Errors.Count = 0 Then
Debug.Print "Error: " & Err.Description
Else
Dim objErr As ADODB.Error
For Each objErr In Connection.Errors
Debug.Print objErr.Description
Next
End If
End Sub
I got this error : Multiple-step operation generated errors. Check each status
value.
I expact another error message liek "The value you entered is not consistent
with the data type or length of the column."
Also I got the same error message (Multiple-step operation generated errors.
Check each status value.) when I try to samiulate any error.
How can solve such a problem?
Thnaks in Advance
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|