Update query using the sum of related records

R

RSunday

I have a cost structure where a cost can be the sum of similar "children"
cost records. The hierarchy is given by a costID and a ParentCostID.

Now for a certain level of parent cost records I want to get the sum of
possible "children cost records". I can write code to loop through the
records, but would like to just run a query.

How is that done?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top