Full Version: Get rid of Append Message Box
UtterAccess Discussion Forums > Microsoft® Access > Access Q and A
Tharxa
How do I stop Access from prompting me every time I want to append a record? I know there has to be an easy way to do this.
freakazeud
Hi,
execute your action queries with:

CurrentDb.Execute "YourQueryNameOrSql", dbFailOnError

HTH
Good luck
Tharxa
Thanks, I always wondered why people advise not to use DoCmd RunSQL.
freakazeud
It would require you to adjust the setwarnings property which means that even if the query errors out for some reason you will not see that. The .execute method surpresses the warnings as well...but still errors out when something goes wrong. Furthermore, it can run faster and prevent bloat on large recordsets.
HTH
Good luck
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.