Results 1 to 3 of 3
  1. #1
    jlgray0127 is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Oct 2011
    Location
    Central Illinois
    Posts
    193

    Sudden "Operation must use an updateable query" error in 5 year old query

    Very unsure of what is happening here?



    I have an update query which updates two fields to a calculated value if one value is null

    UPDATE Qry_TBL_PRODUCTION_SCHEDULE
    SET
    Qry_TBL_PRODUCTION_SCHEDULE.MBP_Week = [MBP_DATE] - (DatePart("w", [MBP_DATE], 2, 1) -1),
    Qry_TBL_PRODUCTION_SCHEDULE.R_MBP_DATE = [R_MBP_DATE] - (DatePart("w", [R_MBP_DATE], 2, 1) -1)
    WHERE
    (((Qry_TBL_PRODUCTION_SCHEDULE.MBP_Week) IS NULL));


    This query is 5 years old and began getting this error yesterday.

    I pulled an older copy of the database and the query runs fine there. The tables are all stored on a backend and the queries are in a local front end database. I've compacted and repaired. I've imported the query that works in the older front end and am still receiving the error. Any thoughts on what to do here?

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    you cannot use a query with SUM TOTALS on, AND do an update.
    are any of those sub queries listed using SUM? (sum,count,max, etc)

  3. #3
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,550
    Check for any office update.
    Roll back until you can find the issue.

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

Similar Threads

  1. "Operation Must Use an Updateable Query" Problem
    By McArthurGDM in forum Queries
    Replies: 1
    Last Post: 05-28-2015, 11:15 AM
  2. Replies: 4
    Last Post: 03-30-2012, 12:09 PM
  3. Operation must use an updateable query.
    By pericherlasuma in forum Access
    Replies: 1
    Last Post: 05-16-2011, 09:45 AM
  4. Operation must use an updateable query
    By skaswani in forum Queries
    Replies: 0
    Last Post: 12-23-2010, 11:59 PM
  5. Operation Must use an Updateable Query
    By Lady_Jane in forum Queries
    Replies: 2
    Last Post: 12-14-2010, 03:02 PM

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