Results 1 to 5 of 5
  1. #1
    Victor70 is offline Novice
    Windows XP Access 2003
    Join Date
    Mar 2012
    Posts
    5

    Operation must use an updateable query - in Access 2003

    Hello, everyone,



    I have a legacy query that used to work in Access 2000 fine. After installation of Access 2003 (now I have both 2000 and 2003), I started getting this message - "Operation must use an updateable query".

    I found a link to an article that explains this "improvement" - http://support.microsoft.com/kb/904953/en-us, but I still have Access 2000 and the query would not work there too.

    Is there a fix to this?

    Thanks a lot in advance
    (asked also on http://www.access-programmers.co.uk/...22#post1142322)

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,848
    Can you show the sql of the query you are trying to execute?

    This link may shed some light on the issue. http://allenbrowne.com/ser-61.html

  3. #3
    Victor70 is offline Novice
    Windows XP Access 2003
    Join Date
    Mar 2012
    Posts
    5
    Orange, thank you very much for your response! Please see the SQL statement below.

    Like I said before, the query was working fine (Access 2000) until newer Office versions were added. There were no changes made to the query. The Access 2000 is still installed. I wanted to keep it to allow for smooth migration to 2003. Now even if I open the database in Access 2000, I am getting this error.

    Code:
    INSERT INTO [XYZ Activities] ( Activity_ID, Empl_ID, Name, Bureau, Division, Unit, [Squad Or Shift], [Year], [Month], Activity, ID_Yr_Mo )
    SELECT Str([fldc_id]) AS Activity_ID, Trim([emdept_id]) AS Empl_ID, Name, Bureau, Division, [Squad or Shift], Year([fcdate]) AS [Year], MonthName(Month([fcdate]),1) AS [Month], tmp_FIs.Activity, ID_Yr_Mo
    FROM tmp_FIs INNER JOIN (dbo_emmain INNER JOIN dbo_systab1 ON dbo_emmain.emsection = dbo_systab1.code_agcy) ON tmp_FIs.officerid = dbo_emmain.empl_id
    WHERE (((Trim([emdept_id]))<"3000") AND ((dbo_systab1.code_key)="SECT"));

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Each version of Access that is released corrects some issues or oversights with prior versions and introduces new issues that were not there before. Such is the life of a product. I noticed that your SQL contains some reserved words: http://www.allenbrowne.com/AppIssueBadWord.html
    Each released version seems "pickier" that the prior version.

  5. #5
    Victor70 is offline Novice
    Windows XP Access 2003
    Join Date
    Mar 2012
    Posts
    5
    Thanks, RuralGuy.

    I do not think this has to do with the reserved words.

    I changed the statement to the following and got the same error.

    Code:
    INSERT INTO [XYZActivities] ( Activity_ID, Empl_ID)SELECT Str([fldc_id]) AS Activity_ID, Trim([emdept_id]) AS Empl_ID
    FROM tmp_FIs INNER JOIN (dbo_emmain INNER JOIN dbo_systab1 ON dbo_emmain.emsection = dbo_systab1.code_agcy) ON tmp_FIs.officerid = dbo_emmain.empl_id
    WHERE (((Trim([emdept_id]))<"3000") AND ((dbo_systab1.code_key)="SECT"));

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

Similar Threads

  1. Operation must be an updatable query
    By Lorlai in forum Queries
    Replies: 5
    Last Post: 02-02-2012, 02:04 PM
  2. Replies: 5
    Last Post: 01-11-2012, 04:26 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