• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 235
  • Last Modified:

"Capturing" Warnings to a log

How about this one folks!

I set DoCMB.NoWarnings = True

Is there any way I can write all the warning to a log (which would be better than just suppressing them).
Patrick O'Dea
Patrick O'Dea
1 Solution
Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
You can't capture the Access-generated messages, if that's what you're asking.

If you fully enable error handling (which is critical to a professional application, in my opinion) then you can certainly write to a logging system. See this topic for error logging:


NOte also that mztools (www.mztools.com) is a free VBA editor addin that can help you quite a bit with adding error handling.
Patrick O'DeaAuthor Commented:
Thanks LSM,

for the moment I will not pursue this one.

I had hope for a simple "redirection" of messages - similar to Unix etc.

However, it was not critical.

Thanks again.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now