"Ron" <Ron.DeleteThis@discussions.microsoft.com> wrote in message
news:73AA6822-AC4A-4F53-8997-65F7C1CA93B2@microsoft.com...
> Hi, I am working in Windows XP Pro.
>
> The error is the usual exception box asking to send error report or not.
The
> error report data contains:
>
> ModName: dao360.dll
> ModVer: 3.60.8618.0
> Offset: 00016a06
>
> The technical info shows:
> Exception Information
> Code: 0xc0000005
> Flags: 0x00000000
> Address: 0x00000001b75a06
>
> System Info:
> Windows NT 5.1 Build: 2600
>
> I have used a MsgBox statement in the code to track down the actual line
of
> code that throws the exception. I can access the properties and methods of
> the recordset without a problem. The exception is thrown when I try to
access
> the contents of a field.
>
> Ron
>
That error is just a general "unhandled exception", or "I've fallen and
can't get up." Surely there is something else going on here.
Implement an Error Handler in the procedure and catch the exact DAO error:
http://www.vb123.com/toolshed/01_bugs/access_errors.htm
http://msdn2.microsoft.com/en-us/library/bb221208.aspx
If you don't have it download MZTools
http://www.mztools.com/v3/download.aspx
This makes it easy to implement error handlers, and to manage line numbers
[Erl()] which will help to narrow the problem down.
Show your code were you are accessing the Value.
PS: For a development environment turn-off that MS Error reporting:
http://www.windowsnetworking.com/articles_tutorials/Disable-Error-Repo...ng-Wind
It doesn't do any good as any error reported by an 'unknown' application -
i.e. "Yours" - will be ignored by MS anyway.
-ralph
>> Stay informed about: DAO360 Error