S
Steve
I have a table, ITEMS which has a list of ITEMS and three number fields D1,
D2, D3. I have a second table, USE which has an ITEM field, DATE field, and
QTY field. I want to find the cords in the USE table where the ITEMS match
and sum the qty field field for a particular date range and insert it into
D1 of the ITEMS table.
So, I have:
Update ITEMS inner join USE on ITEMS.ITEM = USE.ITEM SET ITEMS.D1 =
SUM([USE].[QTY]);
However, I get an error that says you tried to execute a query that does not
include the specified expression D1 as part of an aggregate function.
Can anyone help me out?
thanks
D2, D3. I have a second table, USE which has an ITEM field, DATE field, and
QTY field. I want to find the cords in the USE table where the ITEMS match
and sum the qty field field for a particular date range and insert it into
D1 of the ITEMS table.
So, I have:
Update ITEMS inner join USE on ITEMS.ITEM = USE.ITEM SET ITEMS.D1 =
SUM([USE].[QTY]);
However, I get an error that says you tried to execute a query that does not
include the specified expression D1 as part of an aggregate function.
Can anyone help me out?
thanks