Joel,
Check out DoCmd.SetWarnings False. It will supress action query
messages.
Remember to always turn it back on (True) after your code has run.
-
hth
Al Camp
Candia Computer Consulting - Candia NH http://home.comcast.net/~cccsolutions
If you do it from a menu, the only way to turn it off is in Tools ...
Options ... Edit/Find tab, then uncheck "Action Queries". That's not too
good an idea because it will also shut off the warning for deletions. If you
are appending from code, use:
DoCmd.SetWarnings False
'Run the append query
DoCmd.SetWarnings True
Always turn them back on again for the same reason as using the menu driven
option.
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads: http://www.datastrat.com http://www.mvps.org/access
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.