An Error object contains information about a single error or warning from an OLEDB provider. Error objects are contained within a 0-based Errors collection which is referenced from a Connection object.
Properties
- ADO.Properties.Description
- ADO.Properties.HelpContext
- ADO.Properties.HelpFile
- ADO.Properties.NativeLink
- ADO.Properties.Number
- ADO.Properties.Source
- ADO.Properties.SQLState
Example
1 | dim aCN as adodb.Connection |
Hmm… This is a very old example. These days (and for many days now ;^), I would use a try/catch block