Hola gracias a todos
Tengo la siguiente instruccion Insert
Public Sub Insertar()
sql_insert.Source = "INSERT INTO datos_cliente (id_cliente,rif,nombre,apellido,direcccion,telefon o_hab,telefono_cel) VALUES ('" & id_cliente & " ','" & rif & " ','" & nombre & "','" & apellido & "','" & direccion & "', '" & telefono_hab & " ','" & Telefono_cel & "') "
sql_insert.Open , "DSN=computacion"
MsgBox "Resgistro insertado"
End Sub
como se detecta cuando la instruccion falla y en codigo no reviente....
Muchas gracias