Surpress Confirmation Messages while updating records with VBA

R

Rasmus

Hi everybody,

I am updating records with a VBA skript. While the script is running access
keeps bothering me with confirmation messages. Is it possible to surpress
these messages?

Any help would be aprechiated.
thx
Rasmus
 
B

Brendan Reynolds

If you are using DoCmd methods to execute queries or SQL statements, try
using CurrentDb.Execute or CurrentProject.Connection.Execute instead. See
the help file for details.
 
G

Guest

If you want to remove the messages for all action queries, without using the
set
warnings, then in the menu bar select
Tools > Options > Edit/Search (Tab) > Confirm Action Queries (remove the
selection)

But you have to know that it will never prompt with the message event when
you are using the queries dirrectly
 

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