Results 1 to 3 of 3
  1. #1
    Lady_Jane is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Jul 2010
    Location
    Canada
    Posts
    49

    Question Operation Must use an Updateable Query

    Is the error I am getting when running the following query:


    Code:
    UPDATE tbl_Lakes INNER JOIN qry_SelectLakes ON tbl_Lakes.ULID=qry_SelectLakes.ULID SET tbl_Lakes.Perimeter = qry_SelectLakes.Perimeter;
    this is what qry_SelectLakes looks like, and it runs successfully by itself:

    Code:
    SELECT ULID,Perimeter
    FROM LP02AA
    UNION SELECT ULID,Perimeter
    FROM LP02AB
    UNION SELECT ULID,Perimeter
    FROM LP02AC
    UNION SELECT ULID,Perimeter
    FROM LP02AD
    UNION SELECT ULID,Perimeter
    FROM LP02AE
    UNION SELECT ULID,Perimeter
    FROM LP02BA
    UNION SELECT ULID,Perimeter
    FROM LP02BB
    UNION SELECT ULID,Perimeter
    FROM LP02BC
    UNION SELECT ULID,Perimeter
    FROM LP02BD
    UNION SELECT ULID,Perimeter
    FROM LP02BE
    UNION SELECT ULID,Perimeter
    FROM LP02BF
    UNION SELECT ULID,Perimeter
    FROM LP02CA
    UNION SELECT ULID,Perimeter
    FROM LP02CB
    UNION SELECT ULID,Perimeter
    FROM LP02CC
    UNION SELECT ULID,Perimeter
    FROM LP02CD
    UNION SELECT ULID,Perimeter
    FROM LP02CE
    UNION SELECT ULID,Perimeter
    FROM LP02CF
    UNION SELECT ULID,Perimeter
    FROM LP02CG
    UNION SELECT ULID,Perimeter
    FROM LP02CH
    UNION SELECT ULID,Perimeter
    FROM LP02DA
    UNION SELECT ULID,Perimeter
    FROM LP02DB
    UNION SELECT ULID,Perimeter
    FROM LP02DC
    UNION SELECT ULID,Perimeter
    FROM LP02DD;
    Does anyone know why I might be getting this error?
    Thank-you!

  2. #2
    weekend00 is offline I may not be right
    Windows XP Access 2003
    Join Date
    Aug 2010
    Posts
    1,295
    Access update does not work on a query.
    you can save qry_SelectLakes into a table, then run a update query on tbl_Lakes and this table

  3. #3
    Lady_Jane is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Jul 2010
    Location
    Canada
    Posts
    49

    Smile

    Thanks, that did the trick.

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

Similar Threads

  1. Perform an operation on multiple files.
    By newuser in forum Access
    Replies: 9
    Last Post: 11-18-2010, 11:21 AM
  2. Replies: 0
    Last Post: 03-27-2010, 01:25 PM
  3. Replies: 2
    Last Post: 11-02-2009, 10:14 PM
  4. Query decided it didn't want to be updateable anymore
    By tylerthompson in forum Queries
    Replies: 0
    Last Post: 07-23-2009, 09:43 AM
  5. Invalid Operation
    By ScottG in forum Forms
    Replies: 0
    Last Post: 11-14-2006, 02:05 PM

Tags for this Thread

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