I'm updating two date columns in table1. I wrote an update query for one column that worked fine joining on table2. The same logic was used for the second column in the next query with table3 and I get "operation must use an updatable query". Access help says "This error occurs when the current query's Update To row includes a field from either a crosstab query or select query in which an aggregate (total) was calculated for the field (using either the Totals row or a domain function in the Field row)." Not much help since I'm updating a date after joining on an ID number and date. Why does the update work when updating from table2 and not from table3? The only difference, really is the table name and the column name.
The update query looks like this in SQL:
UPDATE TABLE1,TABLE3
SET TABLE1.ExpDate = [TABLE3].[exp_date]
WHERE TABLE1.ID_NUM = TABLE3.ID_NUM
AND TABLE1.ST_DATE = TABLE3.ST_DATE;
That logic works with TABLE1 AND TABLE2.
Thanks in advance!
Ken
The update query looks like this in SQL:
UPDATE TABLE1,TABLE3
SET TABLE1.ExpDate = [TABLE3].[exp_date]
WHERE TABLE1.ID_NUM = TABLE3.ID_NUM
AND TABLE1.ST_DATE = TABLE3.ST_DATE;
That logic works with TABLE1 AND TABLE2.
Thanks in advance!
Ken