The usual way to do this in VBA is by using DoCmd.SetWarnings False before such an action and DoCmd.SetWarnings True after it.
Another way is to manipulate records in SQL using DAO or ADODB. Neither DAO nor ADODB asks for confirmation when you update, insert or delete records. But you have to requery the form afterwards.
P.S. There are settings in File > Options > Client Settings for this:
But these are user-level settings, not database-level settings. You shouldn't change those settings in your code.