Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Error Handler: Err.Description is empty

0 views
Skip to first unread message

Kay Brodersen

unread,
Jan 21, 2001, 5:58:34 AM1/21/01
to
Hi!

I've got the following problem: In the VBA modules of my Access 97
Database I programmed error handling routines.

Now, if an error occurs, a Msgbox should display "Err.description".
However, it doesn't display anything, the value of Err.description
seems to be empty. What's wrong here? Does it have anything
to do with Access error messages which often contain a "bold"-
formatted part at the top and a normally formatted one below?
Maybe, Err.description does not contain plain text but some
formatted code?

Thanks for any advice,

Kay


Grace Miller

unread,
Jan 21, 2001, 9:35:18 PM1/21/01
to
Kay, try this. Change you message box to the following:
Msgbox("Description:" & err.description & " Number:" & err.number)
This will at least display the error number. From here you can look in the
Help Index for "Trappable Errors"

"Kay Brodersen" <Kay.Br...@gmx.net> wrote in message
news:94efd2$lq9$03$2...@news.t-online.com...

0 new messages