<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Displaying 'Count' of item in a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/116272.aspx</link><pubDate>Thu, 11 May 2017 16:24:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:116272</guid><dc:creator>NathanWynn</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/116272.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=116272</wfw:commentRss><description>So goooooddd. Thank you for your time &amp;amp; expertise.</description></item><item><title>Re: Displaying 'Count' of item in a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/116270.aspx</link><pubDate>Thu, 11 May 2017 14:56:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:116270</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/116270.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=116270</wfw:commentRss><description>You won&amp;#39;t want to put a main data source field in your repeating secondary data table - you should use a calculated value instead. I&amp;#39;ve updated your sample and attached it to this reply - save the linked file locally, right click and select design to open in design mode, then preview. The XPath should be: count(xdXDocument:GetDOM(&amp;quot;RECList&amp;quot;)/data-set/record/RECNum[../BUNum = current()/BUNum])</description></item><item><title>Re: Displaying 'Count' of item in a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/116261.aspx</link><pubDate>Thu, 11 May 2017 03:57:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:116261</guid><dc:creator>NathanWynn</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/116261.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=116261</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Here is the XPath on the Count of Rec field: count(xdXDocument:GetDOM(&amp;quot;RECList&amp;quot;)/data-set/record/RECNum[../BUNum = xdXDocument:GetDOM(&amp;quot;BUList&amp;quot;)/data-set/record/BUNum])&lt;/p&gt;&lt;p&gt;&amp;nbsp;The result:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;img width="665" height="429" style="width:665px;height:429px;" src="https://lh5.googleusercontent.com/-WecRB6PfHaVpo8ANfsre5jiQVi7xIjDt_hV9fqVRkkc27EjqJy-bb-OvUgEf5OUB9AfGQYSM8Ci-Ro=w1920-h963" alt="" /&gt;&lt;/p&gt;&lt;p&gt;Image of result: &lt;a href="https://drive.google.com/file/d/0BxlPX1FIi-PDeFRPQWEwSzgtZXM/view"&gt;https://drive.google.com/file/d/0BxlPX1FIi-PDeFRPQWEwSzgtZXM/view&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Here is the xsn file: &lt;a href="https://drive.google.com/open?id=0BxlPX1FIi-PDd0dPZURUT0h3OFE"&gt;https://drive.google.com/open?id=0BxlPX1FIi-PDd0dPZURUT0h3OFE&lt;/a&gt;. I couldn&amp;#39;t upload the file here. Sorry.&lt;/p&gt;</description></item><item><title>Re: Displaying 'Count' of item in a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/116258.aspx</link><pubDate>Wed, 10 May 2017 21:42:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:116258</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/116258.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=116258</wfw:commentRss><description>So - can you paste the full XPath of an attempt at the formula in a reply? Create the formula with the filter (selecting the repeating row in List 2, select filter data, select the BU # is equal to the BU # in List 1) then select the Edit XPath checkbox and paste the result in a reply &amp;amp; I can probably give you a hand. :)</description></item><item><title>Displaying 'Count' of item in a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/116256.aspx</link><pubDate>Wed, 10 May 2017 20:14:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:116256</guid><dc:creator>NathanWynn</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/116256.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=116256</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I have to SP lists&lt;/p&gt;&lt;p&gt;&lt;u&gt;List 1: BU List&lt;/u&gt;&lt;br /&gt; BU#1 BUName1&lt;br /&gt; BU#2 BUName2&lt;br /&gt; BU#3 BUName3&lt;/p&gt;&lt;p&gt;&lt;u&gt;List 2: REC List&lt;/u&gt;&lt;br /&gt; BU#1 REC#1 RECName1&lt;br /&gt; BU#1 REC#2 RECName2&lt;br /&gt; BU#3 REC#3 RECName3&lt;br /&gt; BU#3 REC#4 RECName4&lt;br /&gt; BU#3 REC#5 RECName5&lt;/p&gt;&lt;p&gt;I have an IP form with connections to BU List &amp;amp; REC List&lt;/p&gt;&lt;p&gt;I would like to have a repeating table to display BU List with&amp;nbsp;1 additional column&amp;nbsp;&amp;#39;Count of REC&amp;#39; that&amp;nbsp;displays the count of REC looking at REC List&lt;/p&gt;&lt;p&gt;Desired outcome:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Result of Repeating Table 3 columns&lt;/p&gt;&lt;p&gt;&lt;u&gt;Count of&amp;nbsp; REC&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BU#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;BUName&lt;/u&gt;&lt;br /&gt; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BU#1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;BUName1&lt;br /&gt; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BU#2 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BUName2&lt;br /&gt; 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;BU#3 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BUName3&lt;/p&gt;&lt;p&gt;My current&amp;nbsp;approach:&lt;/p&gt;&lt;p&gt;Drag the connection of&amp;nbsp;BU List out to the form as Repeating Table, insert&amp;nbsp;a column and then a textfield. My intention is to&amp;nbsp;Count BEList REC where&amp;nbsp;&amp;#39;REC BU#&amp;#39; = current row &amp;#39;BU#&amp;#39; but I wasn&amp;#39;t able to get anywhere.&lt;/p&gt;&lt;p&gt;Please advice!&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>