Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2003
    Posts
    2

    Unanswered: supressing system message

    I am getting the message "you have cancelled a previous operation" when I execute the cancelevent method in the form before update event. I have been unable to stop this message from appearing. Placing docmd.setwarnings false has had no effect. Any ideas

    Thanks
    Jim

  2. #2
    Join Date
    Jan 2003
    Location
    Dordrecht, The Netherlands
    Posts
    95

    Re: supressing system message

    Don't use CancelEvent in a Form_Before_Update event, but:

    Cancel = True

    The Form_Before_Update sub has a parameter Cancel. If you set it to True, then the Before_Update event will be canceled.

    Originally posted by jimfrith
    I am getting the message "you have cancelled a previous operation" when I execute the cancelevent method in the form before update event. I have been unable to stop this message from appearing. Placing docmd.setwarnings false has had no effect. Any ideas

    Thanks
    Jim

Posting Permissions

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