Results 1 to 2 of 2
  1. #1
    3 Star Lounger
    Join Date
    Jun 2003
    Posts
    238
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Append Query Confirms Off? (Access 2003)

    I created VBA to execute an append quey when you click a specific button. Problem is that every time it executes the query it says "You are about to append 1 row(s)" and I have to click yes or no. Is there code in VBA that allows you to skip this confirmation when i click that particular button??
    Thanks!

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Append Query Confirms Off? (Access 2003)

    Insert a line

    DoCmd.SetWarnings False

    before executing the query, and

    DoCmd.SetWarnings True

    after it.

Posting Permissions

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