Re: List of DAO error codes
From: Dale (dale0610_at_hotmail.com)
Date: 04/06/04
- Previous message: Jim Carlock: "Re: List of DAO error codes"
- In reply to: Jim Carlock: "Re: List of DAO error codes"
- Next in thread: Jim Carlock: "Re: List of DAO error codes"
- Reply: Jim Carlock: "Re: List of DAO error codes"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 06 Apr 2004 09:01:56 -0700
Thanks for your help Jim. I don't have Visual C++ but I'll go with your
other suggestions.
Jim Carlock wrote:
> I don't know if these are correct or where they got them from, but there
> do seem to be references here and there that there are files that come
> with Visual C++, ( dbdaoerr.h ?? ).
>
> http://www.vb123.com/toolshed/01_bugs/access_errors.htm
>
> Also, you can use the Err.Number, Err.Description to trap the errors
> and get the friendly help information for each error number.
>
> Use
>
> Private Sub subProblemSub()
> On Error Goto LocalErr
> '...doing stuff
> Exit Sub
> LocalErr:
> MsgBox "Error # " & CStr(Err.Number) & vbCrLf & Err.Description
> Err.Clear
> End Sub
>
> Hope that helps.
>
- Previous message: Jim Carlock: "Re: List of DAO error codes"
- In reply to: Jim Carlock: "Re: List of DAO error codes"
- Next in thread: Jim Carlock: "Re: List of DAO error codes"
- Reply: Jim Carlock: "Re: List of DAO error codes"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|