T
thenighthawk
Hi All,
Table 1 has a list of items with two key fields, ID and Parent
Parent refers back to ID
Table 2 has a list of five integer values of interest for some of the
items in table 1, call them i1 - i5, as well as a foriegn key
relationship back to ID on table 1, fID
Ideally, I'd like to produce a sum of all the table 2 data for all the
children of ID from table 1.
I know that this will have to be done in vba, since recursion can't be
done as a query.
I guess the first ideal step would be a suggestion on how to build an
array or recordset with just all the children/grandchildren/great
etc... grandchildren.
Thanks!
Table 1 has a list of items with two key fields, ID and Parent
Parent refers back to ID
Table 2 has a list of five integer values of interest for some of the
items in table 1, call them i1 - i5, as well as a foriegn key
relationship back to ID on table 1, fID
Ideally, I'd like to produce a sum of all the table 2 data for all the
children of ID from table 1.
I know that this will have to be done in vba, since recursion can't be
done as a query.
I guess the first ideal step would be a suggestion on how to build an
array or recordset with just all the children/grandchildren/great
etc... grandchildren.
Thanks!