UPDATE table1, table2
SET table1.field1 = SUM(table2.field2)
WHERE (table1.dbID = table2.dbID);
I get an error that says i tried to execute a query that does not
include field1 as part of an aggregate function. what am i doing wrong
and how can i fix it.
tia
AGP
change your SQL to this and it should work
UPDATE table1, table2
SET table1.field1 = SUM(table2.field2)
WHERE (table1.dbID = table2.dbID)
GROUP BY table1.field1;
"AGP" <sindiz...@softhome.net> wrote in message
news:p1py8.76489$HH5....@rwcrnsc51.ops.asp.att.net...