DoCmd.SetWarnings

B

B F Cole

I use the DoCmd.SetWarnings False before running append and update queries
to suspend the warning messages that the user sees followed by
DoCmd.SetWarnings True to resume the screen messages. This also suspends
the duplicate record error message, which is useful to know. Is there a way
to trap all of these messages while SetWarnings False is active and write
them to a MessageLog table for later review?

Thanks for your suggestions,
Bill
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top