WORKING WITH THE ERRORS COLLECTION

The Errors collection stores the most recent set of multiple errors that can occur with features such as ODBC and DAO. In the DAO hierarchy, the Errors collection hangs off the DBEngine object at the top of the heap (see Figure 7.6).

Figure 7.6. The Errors collection hangs off the DBEngine object.

Note

ADO also has an Errors collection that works similarly to DAO's, with just a couple of differences in properties. The properties discussed in this section will be the same in ADO.

The Errors collection contains one method, Refresh, and one property, Count, which is the number of the Error objects the collection ...

Get F. Scott Barker's Microsoft® Access 2000 Power Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.