Jump to content
Server Maintenance This Week. ×

a simple solution?


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

Recommended Posts

I have a one-many relationship for my database. I want to be able to show the total number of child records for each parent record. Is there a simple calculation for that? All I can think of is to write a script to perform a search for each parent and then get the record count. I am sure there is easier and faster way.

Of course the actual case is more complicated than this. I need to show, for each parent, total number of child records seperated into different state. Something like, 4 from TX, 12 from WA, 20 from FL (total of 4 subset). I figure I can achieve this by adding more conditions to my relationship.

Thank you in advance for your help.

Link to comment
Share on other sites

I want to be able to show the total number of child records for each parent record. Is there a simple calculation for that?

Define a calc in the parent file:

Count of Child (calculation, number result) = count(child::recordID)

Link to comment
Share on other sites

This topic is 6582 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.