Results 1 to 5 of 5
  1. #1
    Marceb is offline Novice
    Windows 10 Access 2016
    Join Date
    Jan 2019
    Posts
    1

    Run Query without popup

    Hallo

    i am using a update query. and works fine. however i get these popup with the question if i am sure to update the table whit 21 records



    is there a method to update the table automatically without the popup

  2. #2
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,974
    If running the query using code or a macro you can switch warnings off before running the query but do make sure you switch them back on afterwards.
    It's also possible to switch off these warnings permanently in Access options but that is not recommended.
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

  3. #3
    MLogue9 is offline Novice
    Windows 8 Access 2007
    Join Date
    Jan 2019
    Posts
    22
    docmd.setwarnings (warningsoff)

  4. #4
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,974
    In VBA, just DoCmd.SetWarnings False followed by DoCmd.SetWarnings True
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

  5. #5
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,722
    Or in vba use this construct
    Code:
    currentdb.execute "your update query sql here",dbFailonError
    Good luck.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 5
    Last Post: 08-24-2017, 06:51 PM
  2. Popup
    By DavidMcArthur in forum Forms
    Replies: 1
    Last Post: 06-03-2016, 04:35 AM
  3. Query Criteria Popup
    By Rustin788 in forum Queries
    Replies: 3
    Last Post: 09-21-2014, 10:44 AM
  4. Replies: 2
    Last Post: 11-19-2012, 10:54 AM
  5. Do not want to popup parameter query
    By chuki2 in forum Queries
    Replies: 2
    Last Post: 08-02-2012, 12:51 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums