count a field in a repeating table based on value if the field - InfoPath Dev
in

InfoPath Dev

count a field in a repeating table based on value if the field

Last post 06-10-2011 03:52 PM by Skarn. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 06-08-2011 09:17 AM

    count a field in a repeating table based on value if the field

     I have a repeating table that is filter by dates. The user chooses what dates the repeating table will show and hide the other rows that are outside of the dates selected. the rows have a field that is a drop down selection that can be YES or NO.  I need to count that field for all instances of YES  that are within the dates selected.  Any help would be outstanding

  • 06-10-2011 03:52 PM In reply to

    • Skarn
    • Top 50 Contributor
      Male
    • Joined on 04-20-2008
    • Australia
    • Posts 198

    Re: count a field in a repeating table based on value if the field

    repeating table: my:repeatGroup

    yes/no field: my:yesNo

    xPath to count: count(//my:repeatGroup[my:yesNo = 'yes'])

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