SetWarnings Method Example
The following example turns the display of system messages off:
DoCmd.SetWarnings False