Suppress Warning Message - DAO Insert

D

dave h

Hi,

When using -

DoCmd.RunSQL mySQL with an INSERT INTO............

How can I surpress the dialog box that asks to confirm the append?

Thanks, Dave H.
 
M

Mark via AccessMonster.com

It's probably a good idea to include dbFailOnError at the end of the
..Execute statement:

CurentDb.Execute mySQL, dbFailOnError

Since using .Execute will not break on a failure during the operation,
you'll never know if something went wrong.
 

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