In my error handling I am referencing the DBengine.Errors collection to write trapped errors to a table, but it seems that some of the errors I trap are not included in this collection.
I have noticed that errors which can be referenced by the DBengine.Errors collection have in common that their error numbers begin with 3 eg "3021 - No Current Record".
Other Errors eg "2501 - The Close action was canceled." do not appear in the collection.
Can somebody explain what exactly determines whether or not a trapped error appears in the collection?
Any help appeciated, thanks.
I have noticed that errors which can be referenced by the DBengine.Errors collection have in common that their error numbers begin with 3 eg "3021 - No Current Record".
Other Errors eg "2501 - The Close action was canceled." do not appear in the collection.
Can somebody explain what exactly determines whether or not a trapped error appears in the collection?
Any help appeciated, thanks.