Both statements are correct.
Errors should always be added to the error collection. Errors should be raised in
VB according to a complex series of rules that basically boil down to something like: "Well integrated ODBC data providers will report all errors to the error collection API, and will also report errors that will affect program flow to the trap API". In other words, an error that is informative should appear in the errors collection without triggering a
VB error, but errors that prevent normal program flow should also raise a
VB error.
Note that these rules are not followed by all ODBC providers. Your milage may vary!
-PatP