I was executing an insert command on a Oracle database table with VB at the front end. The "Insert" command caused a referential integrity constraint to be violated on that specific database table hence an error msg was generated which caused the VB program to terminate. I was unable to trap the error using VBs error object.
Plzz suggest some way to trap the error.