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

前端 未结 1 659
情书的邮戳
情书的邮戳 2021-02-19 19:03

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 an

1条回答
  •  我在风中等你
    2021-02-19 19:55

    Don't foget to turn these back on.

    DoCmd.SetWarnings false
    DoCmd.SetWarnings true
    
    Application.DisplayAlerts = false
    Application.DisplayAlerts = true
    

    0 讨论(0)
提交回复
热议问题