Re: Which Error object



Hi,

If you do not use on error go to then application will crash in a case if
error happened inside of connection. First you suppose to trap the error
using on error go to and then you could analyze Errors collection of the
connection to get more details.

--
Val Mazur
Microsoft MVP

http://xport.mvps.org



"Larry" <bliff@xxxxxxxxxx> wrote in message
news:O$wUEFOfFHA.3960@xxxxxxxxxxxxxxxxxxxxxxx
> In VB 6, I am adding error trapping to
> an application.
>
> Should I use the VB err object trapped with
> on error go to
> or
> should I use the Connection error object collection.
>
> I have read nuemrous articles, but neither actually
> says which I should use.
>
> Thanks in Advance,
>
> Laurence Nuttall
> Programmer Analyst III
> UCLA - Division of Continuing Education
>
>
>


.



Relevant Pages