Count Checkboxes that are "Yes" in a repeating table - InfoPath Dev
in

InfoPath Dev

Count Checkboxes that are "Yes" in a repeating table

Last post 04-30-2012 06:33 PM by wapfunz. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 04-30-2012 05:08 PM

    Count Checkboxes that are "Yes" in a repeating table

    Is it possible to count a checkbox field if it is Yes in a repeating table.

    Say there are 10 rows and 6 of those rows the checkbox is checked.

    The count would show 6.

    count(../my:Repeating_Row_Overhead/my:Invoice_Receipt = "yes")

    Doesn't seem to work - it doesn't - fail.

    If I try count(current()../my:Repeating_Row_Overhead/my:Invoice_Receipt = "yes")

    Fail.

    I am clutching at straws and any guidance - even an answer would be appreciated and thank fully used.

    Best Regards
    Bill
  • 04-30-2012 05:26 PM In reply to

    Re: Count Checkboxes that are "Yes" in a repeating table

    Where is the expression box or field where you are are using this expression?

    I'd think the expression would be something like this:

    count(../my:Repeating_Row_Overhead[my:Invoice_Receipt = "yes"])

    If the field / placement is inside the group

    I'm attaching a sample.

    Hilary Stoupa

  • 04-30-2012 06:27 PM In reply to

    Re: Count Checkboxes that are "Yes" in a repeating table

    Hi Hillary,

    The expression box is part of the footer.

    Best Regards
    Bill
  • 04-30-2012 06:33 PM In reply to

    Re: Count Checkboxes that are "Yes" in a repeating table

    Hillary you are the one.

    Fantastic - all good and working.

    Many many thank you's.

    Best Regards
    Bill
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.