Results 1 to 4 of 4

Thread: cancel an event

  1. #1
    Join Date
    Dec 2002
    Location
    Phoenix, AZ
    Posts
    122

    Unanswered: cancel an event

    is there a way to cancel an event without the msgbox popping up- tell you that you have canceled an event.

    I wrote a piece of code that contains a 'Docmd.CancelEvent' but everytime it runs it I get a msgbox stating "Event Canceled"

  2. #2
    Join Date
    Oct 2001
    Location
    Chicago
    Posts
    440
    Can you post the code...
    What is the event that you are running?

    Did you try:
    DoCmd.SetWarnings False

    Matt

  3. #3
    Join Date
    Dec 2002
    Location
    Phoenix, AZ
    Posts
    122
    Thanks.

    the "docmd.setwarnings false" worked!

  4. #4
    Join Date
    Oct 2002
    Location
    Leicester - UK
    Posts
    820
    Originally posted by cc3658
    Thanks.

    the "docmd.setwarnings false" worked!
    just remember to set it true again afterwards or you can end up in no ends of trouble
    Definition of a Beginner, Someone who doesn't know the rules.

    Definition of an Expert, Someone who knows when to ignore the rules.

Posting Permissions

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