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.
 
Top