Hi,
for trapping real errors you can of course use the normal error handling (on error goto ...) and the err object.
If you want to know how many records are returned or affected by your query you can use the cmd object. An example of using the cmd object to perform an action query and store the number of records that were affected in the variable lngAffected:
Code:
Dim cmd As New ADODB.Command
Dim cnn As ADODB.Connection
Dim lngAffected As Long
Set cnn = CurrentProject.Connection
cmd.ActiveConnection = cnn
cmd.CommandType = adCmdText
cmd.CommandText = "Update tblTest set fldChangedOn = Now()"
cmd.Execute lngAffected