F
Fredrated
Is it possible to update a table from a summary query? I always get a
'operation must use an updatable query'.
For example, query 'qSumTracts2000' is the summary query
SELECT PDAsSubareasTracts.CT, Sum(PDAsSubareasTracts.[2000]) AS SumOf2000
FROM PDAsSubareasTracts
GROUP BY PDAsSubareasTracts.CT;
And the query I want to update from is
UPDATE CT_Totals INNER JOIN qSumTracts2000 ON CT_Totals.CT=qSumTracts2000.CT
SET CT_Totals.CT2000 = qSumTracts2000.SumOf2000;
but this generates, as it seems with all of my attempts to update from
summary queries, the above error.
Any way to do this?
Thanks in advance for any help.
P.S. I know that stored summaries can become outdated; in this case I am
working with census 2000 data, a static database, and the projections model I
am working on is made a lot easier if I can store intermediate calculations
into fields for subsequent use.
'operation must use an updatable query'.
For example, query 'qSumTracts2000' is the summary query
SELECT PDAsSubareasTracts.CT, Sum(PDAsSubareasTracts.[2000]) AS SumOf2000
FROM PDAsSubareasTracts
GROUP BY PDAsSubareasTracts.CT;
And the query I want to update from is
UPDATE CT_Totals INNER JOIN qSumTracts2000 ON CT_Totals.CT=qSumTracts2000.CT
SET CT_Totals.CT2000 = qSumTracts2000.SumOf2000;
but this generates, as it seems with all of my attempts to update from
summary queries, the above error.
Any way to do this?
Thanks in advance for any help.
P.S. I know that stored summaries can become outdated; in this case I am
working with census 2000 data, a static database, and the projections model I
am working on is made a lot easier if I can store intermediate calculations
into fields for subsequent use.