How to bypass the confirm-update form for an update query

G

Guest

Hi,

In the event click of a command button, I run an update query. Is there a
way to run an update query without user confirmation, YES or NO?

TIA,
RT
 
G

Guest

Use the set warnings to false

docmd.setwarnings False
Docmd.openQuery ""
docmd.setwarnings True ' Don't forget to set it back to true
 

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