Getting Rid of Messages

  • Thread starter Thread starter JP
  • Start date Start date
J

JP

When I run an update query I want to make it so none of
the messages about updating pop up... Any way to do that?
 
If you are doing this from a form, before the event you can set the global:

DoCmd.SetWarning False

This suppresses certain system messages and may work in your situation.

Greg
 
BEWARE!!!

If you use DoCmd.SetWarnings False to disable messages you MUST counteract
the command with DoCmd.SetWarnings True

If you don't, ALL confirmation messages in all apllications (including
Delete and Save) will be disabled until you close and re-start Access.

This means you can do untold damge to your data without realising it, or
being given the option of not executing a command.

Use SetWarnings carefully.

Denis
 
Back
Top