rdoError Object, rdoErrors Collection Example

The following code illustrates a simple design-time RDO error handler. Note that the handler simply displays the errors in the rdoErrors collection in the Immediate window.

Dim er as rdoError
On Error GoTo CnEh
.
.
.

CnEh:
Dim er As rdoError
    Debug.Print Err, Error
    For Each er In rdoErrors
        Debug.Print er.Description, er.Number
    Next er
    Resume Next