Select to view content in your preferred language

Parent-child calculation constraint

126
1
07-15-2025 06:37 AM
KayManuel
Emerging Contributor

Here's what I have:

1. A total loan amount given to an organization in the parent form.

2. A repeat collecting the information on individual beneficiaries of this lump sum.

Now here's what I need:

A constraint that ensures that the total amount disbursed to each of the beneficiaries equals the actual total loan amount received in the parent form.

 

Thanks in advance.

0 Kudos
1 Reply
ChristopherCounsell
MVP Regular Contributor

Use sum()

https://support.esri.com/en-us/knowledge-base/how-to-calculate-the-sum-of-repeats-in-arcgis-survey12...

You could add a null question to calculate the sum and then apply the constrain on the parent value question:

. = ${question_a}

This checks the user input (. is current input) against the sum (question_a)