Jump to content
Sign in to follow this  

Summing the value of a child with more "childs"

Recommended Posts

For the life of me I don't know why I can't wrap my head around this..

Table A Parent Record

Table B Child record that is a selection of an item of Table A (This is a BOM Setup)

I want to "cascade" down and sum up all the values of each child record but if the child had more "Childs" I need those values too. Basically it can be infinite.

Share this post

Link to post
Share on other sites

For best performance you would want to go to the lowest level of the BOM and cache the summary total in to the parent as trying to aggregate data depending on how large the data set is can be taxing on performance.

Alternatively you could create aggregate summary tables  to store this data there are many examples how to provide this option over at filemakerhacks.com 




Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.