An Aleternative is the following
In your repeating table you can even use a Text box or another control
Add a rule to this control in the repeating table
- Add Rule
- Set Condition
- Select The Expression in the first Dropdown
- Add count(/my:myFields/my:group2/my:group3/my:Status[. = string("Fail")]) = 0
The bold chars, change it to the xpath of your control
string("Fail")] : chnge the "Fail" to whatever value you want to check, when you work with False/True, change it to string(false())
Add as Action: Set Field, select your Global Field and set Success as value
When all fields are different the Fail, the expression will return = 0, and the field will be updated with the name you like
This expression you can also use as condition before submitting the form.
Frederik Van Lierde
Blue InfoPath Blog ¦
SilverSands Associate ¦
Do you follow me already? ¦ We work smart, not hard
If this article was helpfull, don't forget to rate it, tnx!