G
Guest
Hi TWIMC,
I'd like to update a field for each record that relates to a parent record
with a calculation that depends on the summation of each relating record
within the table that relate to the same parent record. E.g. a parent record
has a value of 10 there are 4 records that relate to the parent record. Each
one of the four records has a wieght for the proportion it should receive
from the parent. So the 10 has to shared amoungst the 4 records by their
wieghted value.
So sub rec1 and rec2 have a weight of 2 sub rec3 and rec4 have a weight of
1, so 10 divided by 6 and multiplied by the weighted value would give the
correct proportion for each sub record.
So the question is, how do I go about it.
TIA
KM
I'd like to update a field for each record that relates to a parent record
with a calculation that depends on the summation of each relating record
within the table that relate to the same parent record. E.g. a parent record
has a value of 10 there are 4 records that relate to the parent record. Each
one of the four records has a wieght for the proportion it should receive
from the parent. So the 10 has to shared amoungst the 4 records by their
wieghted value.
So sub rec1 and rec2 have a weight of 2 sub rec3 and rec4 have a weight of
1, so 10 divided by 6 and multiplied by the weighted value would give the
correct proportion for each sub record.
So the question is, how do I go about it.
TIA
KM