Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2002
    Posts
    21

    Unanswered: Warning message when deleting records

    Is there a way to suppress the warning message when you are about to delete records? I am using VBA code to delete certain records but I don't want the user to see the warning dialog box.

    Thanks in advance,

    flynn

  2. #2
    Join Date
    Aug 2002
    Location
    Northampton, England
    Posts
    266
    Yes, DoCmd.SetWarnings False
    'run your query
    DoCmd.SetWarnings True

    David

Posting Permissions

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