Results 1 to 3 of 3
  1. #1
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: suppress delete waring (access 2003)

    You can insert

    DoCmd.SetWarnings False

    before running the delete query, and

    DoCmd.SetWarnings True

    after it.

  2. #2
    Lounger
    Join Date
    Aug 2003
    Location
    amsterdam, Netherlands
    Posts
    37
    Thanks
    0
    Thanked 0 Times in 0 Posts

    suppress delete warning (access 2003)

    Hi

    Probably very simple but I can't find it...

    Hope anyone can help me out with this.

    I Have a delete query that deletes a couple records out of my table
    I am using a button to run the macro: Docmd open query etc.
    and now I am looking for some code to suppress the confusing error warning that access displayes.
    I have created my own message box and then I just want it to happen without the extra access warning

    (I know all delete warning messages can be turned off in the general access options but that is not what I want).

    Thanks ahead.

    Diederik

  3. #3
    Lounger
    Join Date
    Aug 2003
    Location
    amsterdam, Netherlands
    Posts
    37
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: suppress delete waring (access 2003)

    Thanks Hans.

    works perfect!

    Diederik

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •