Results 1 to 2 of 2
  1. #1
    Will is offline Novice
    Windows XP Access 2007
    Join Date
    Aug 2011
    Posts
    1

    Cannot Update a table from a Query field based on a sum and grouped field..

    I made a query called Size_GIS_SUM which is a sum of land areas by project name.

    I want to use this query to update to another table called t2 where a separate field called project_land_size will show the value based on the sum of each projects land areas.

    Problem is I keep getting weird errors.
    My statement is
    T2 = the project able with the summed the empty field for project summed values.


    Size_GIS_SUM is the query which is based on the summing of another table and grouped by project name.

    **** SQL statement

    UPDATE T2
    INNER JOIN Size_GIS_SUM ON T2.[Extended Project Name]=Size_GIS_Sum.[Extended_Project_Name]
    SET T2.[Size] = Size_GIS_SUM.[SumOfSize_GIS_3];

    Is it not possible to update a table from a query based on sums or that are grouped ?

  2. #2
    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
    This link should answer some of your questions about non-updateable queries: http://allenbrowne.com/ser-61.html

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

Similar Threads

  1. Replies: 7
    Last Post: 11-24-2014, 02:11 PM
  2. Replies: 4
    Last Post: 04-18-2011, 07:18 AM
  3. Replies: 3
    Last Post: 01-17-2011, 01:48 AM
  4. Replies: 4
    Last Post: 09-03-2009, 02:01 PM
  5. Replies: 0
    Last Post: 04-17-2008, 09:24 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