repeating tables & count - InfoPath Dev Sign in | Join | Help in SharePoint Integration InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » SharePoint Integration » repeating tables & count repeating tables & count Last post 04-23-2009 10:12 PM by swathip. 1 replies. Page 1 of 1 (2 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 04-23-2009 02:22 AM hokutolegacy Joined on 04-23-2009 Posts 1 repeating tables & count Reply Contact Hi ! here's my problem : i use 4 repeating tables for my subscription form where people have the choice to add members Then I display the names in a column (i use the "merge" function) but i also need to know the amount of people so i add a new column & use the "count" function BUT some repeating tables are optional but my count function still return a "1" even if the first field is empty, it's logic i know but i want a "0" or nothing... Can somebody help me with this case ? Filed under: repeating table 04-23-2009 10:12 PM In reply to swathip Joined on 10-30-2007 India Posts 487 Re: repeating tables & count Mark as Not AnswerMark as Answer... Reply Contact Hi, Use the following expression to count the number members. count(/my:myFields/my:group1/my:group2[my:field2 != ""]) Just add a filter to count only the fields which are not empty. Here /my:myFields/my:group1/my:group2 is a repeating table xpath. Swathipwww.ggktech.com Page 1 of 1 (2 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.
Hi,
Use the following expression to count the number members.
count(/my:myFields/my:group1/my:group2[my:field2 != ""])
Just add a filter to count only the fields which are not empty.
Here /my:myFields/my:group1/my:group2 is a repeating table xpath.