M
MBG
I want to update a field (TotalCost) on the parent table of a parent-child
relationship (a literal one!) with a value ([sumCost]![SumOfCost]) from a
(previous) query that sums the values in a field on the child table
(CostPerKid)according to parent_ID. Basically, I'm using a query value in my
"date to" field. Is that possible? I'm getting the error message in the
subject line.
Here's what it looks like; what am I missing?
UPDATE (Parents INNER JOIN Kids ON Parents.Parent_ID = Kids.Parent_ID) INNER
JOIN sumCost ON Parents.Parent_ID = sumCost.Parent_ID SET Parents.TotalCost =
[sumCost]![SumOfCost], Parents.Parent_ID = [Parents]![Parent_ID]
WHERE (((Parents.[Household Income])>60000));
Thanks for help!
relationship (a literal one!) with a value ([sumCost]![SumOfCost]) from a
(previous) query that sums the values in a field on the child table
(CostPerKid)according to parent_ID. Basically, I'm using a query value in my
"date to" field. Is that possible? I'm getting the error message in the
subject line.
Here's what it looks like; what am I missing?
UPDATE (Parents INNER JOIN Kids ON Parents.Parent_ID = Kids.Parent_ID) INNER
JOIN sumCost ON Parents.Parent_ID = sumCost.Parent_ID SET Parents.TotalCost =
[sumCost]![SumOfCost], Parents.Parent_ID = [Parents]![Parent_ID]
WHERE (((Parents.[Household Income])>60000));
Thanks for help!