Suppress Warning Message - DAO Insert

  • Thread starter Thread starter dave h
  • Start date Start date
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.
 
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.
 
Back
Top