Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Access vba: How to turn of systems messages or prompts?

Tags:

ms-access

I use a form to run a few codes on a database in Access. During update or deletion Access asks whether you want to update or delete.

I would like to know if there is any way of turning off these system messages or let the user choose his preference on whether he would like thoses messages to pop up or not.

like image 906
tksy Avatar asked Dec 18 '08 13:12

tksy


1 Answers

Don't foget to turn these back on.

DoCmd.SetWarnings false
DoCmd.SetWarnings true

Application.DisplayAlerts = false
Application.DisplayAlerts = true
like image 108
LeppyR64 Avatar answered Jan 02 '23 23:01

LeppyR64