<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>SharePoint Integration</title><link>https://www.infopathdev.com:443/forums/46.aspx</link><description> For questions concerning issues in the integration of SharePoint and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: repeating tables &amp; count</title><link>https://www.infopathdev.com:443/forums/thread/40944.aspx</link><pubDate>Fri, 24 Apr 2009 05:12:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:40944</guid><dc:creator>swathip</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/40944.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=40944</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Use the following expression to count the number members.&lt;/p&gt;
&lt;p&gt;count(/my:myFields/my:group1/my:group2[my:field2 != &amp;quot;&amp;quot;])&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Just add a filter to count only the fields which are not empty.&lt;/p&gt;
&lt;p&gt;Here /my:myFields/my:group1/my:group2 is a repeating table xpath.&lt;/p&gt;</description></item><item><title>repeating tables &amp; count</title><link>https://www.infopathdev.com:443/forums/thread/40903.aspx</link><pubDate>Thu, 23 Apr 2009 09:22:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:40903</guid><dc:creator>hokutolegacy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/40903.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=40903</wfw:commentRss><description>Hi !

here&amp;#39;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 &amp;quot;merge&amp;quot; function) but i also need to know the amount of people so i add a new column &amp;amp; use the &amp;quot;count&amp;quot; function

BUT

some repeating tables are optional but my count function still return a &amp;quot;1&amp;quot; even if the first field is empty, it&amp;#39;s logic i know but i want a &amp;quot;0&amp;quot; or nothing...

Can somebody help me with this case ?</description></item></channel></rss>