Macro Error Message Not Displaying

B

Boyd

I have a macro that links a table from another Access database. If
the table doesn't exist in the other database when the macro is run
from the database window, an error message appears (expected
behavior). If I run the macro behind a command button on a form using
Docmd.RunMacro "Macro1", the error message doesn't appear. Is there
any way of setting error messages to appear when running a macro thru
VBA code? I tried setting "Docmd.SetWarnings True", but this doesn't
help.

Any ideas are greatly appreciated.
Thanks,
Boyd
 

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