In your program code, every time that you encounter a possible ADO error, you should check the Errors collection belonging to the current Connection object. If the Errors collection is not empty, then you should examine each Error object and take appropriate action to deal with the error. You should also note that unlike most other collections, the Errors collection is zero-based (the first item has an index of zero).