Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

Parent-Join-Child but something missing today


This topic is 5586 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted (edited)

I think this should be simple but for some reason I have been banging my head today.

My database has parent records and child records. Each parent can have multiple children. Each child can have multiple parents.

The parent and child records are in the same table.

I have 3 table occurrences:

Parent table occurrence

Join table occurrence

Child table occurrence

The Join table contains 2 fields, the parent_record_id and the child_record_id.

In the Parent table occurrence I need to calculate the total of field 'Number' for all related records in the Child table occurrence.

What am I missing today?

Thanks,

b.

Edited by Guest
Added extra info.
Posted (edited)

Thanks for the answer. Sure... that's what I expected but its not working work. The calculation field is blank.

I should have included this in the first post (now edited):(

"The Parent table and the Child table are actually the same table, but different table occurrences."

Thanks,

ft.

Edited by Guest
Posted

Should make no difference. If the field returns a blank, check that (a) there are related records, (:( there are values in the Number field, and © the calculation is evaluated from the correct context. Post a file if you still can't get it to work.

Posted

The calculation is working for me.

BTW I recommend renaming the TOs to "parent" and "child" to make viewing things much easier. Makes the graph very unambiguous.

If you're trying to get the total of all parents you'll need to create another cal field that sums through the parent relationship.

This topic is 5586 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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