W
WayneM
I am trying to do an update of a column with data from another table. The
following T-SQL
UPDATE titles
SET ytd_sales = titles.ytd_sales + sales.qty
FROM titles, sales
WHERE titles.title_id = sales.title_id
AND sales.ord_date = (SELECT MAX(sales.ord_date) FROM sales)
doesn't work in Access. How can I do this in Access?
Thanks in advance,
WayneM
following T-SQL
UPDATE titles
SET ytd_sales = titles.ytd_sales + sales.qty
FROM titles, sales
WHERE titles.title_id = sales.title_id
AND sales.ord_date = (SELECT MAX(sales.ord_date) FROM sales)
doesn't work in Access. How can I do this in Access?
Thanks in advance,
WayneM