ms-access - how to automatically select yes in warning message boxes
问题 in ms-access i am running a macro that runs several queries, during the execution of a query a message box appears "you are about to run an update.......... are you sure you want to run this query ? " how can i automatically select for all such cases so that macro runs without human intervention. 回答1: You can turn off temporary the warnings like this: DoCmd.SetWarnings = False DoCmd.RunSQL ... DoCmd.SetWarnings = True 回答2: It is generally best to use Execute in such cases in order to trap