Discussion Locked

Access 2000 and SQL INSERT statement

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
How do I stop Access 2000 asking "Are you sure you want to ..." after each SQL INSERT statement. I have attached a macro to a combo box that runs a SQL INSERT every time a new value is selected. I want this to be transparent and not be prompted every time.

5 replies

by whyong

before your sql statement, select "setwarnings" in the action tab, then set the "warnings on" to "No".
after runsql action, you can set the warnings on to "yes" again if you want to.

hope that this is what you want... happy coding.

by bob sellman

Go to Tools, Options.
Select the Edit/Find tab.
In the confirm box, uncheck Action Queries.
You can also, if you want, uncheck the confirmation of record changes and/or document deletions.

This also works in Access 97.

by ajd

Thanks for the tip but I wanted a solution that I didn't have to configure on every workstation.

This discussion is closed to new replies.