<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Counting Duplicate Values in a Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/108405.aspx</link><pubDate>Tue, 01 Nov 2016 23:14:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:108405</guid><dc:creator>edgfox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/108405.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=108405</wfw:commentRss><description>Yes that worked perfectly! thank you. It was much more simple than what I was trying to do. 

Cheers, 

Ed</description></item><item><title>Re: Counting Duplicate Values in a Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/108404.aspx</link><pubDate>Tue, 01 Nov 2016 22:44:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:108404</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/108404.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=108404</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Your &amp;quot;Parent&amp;quot; node has a crazy name - I right clicked it in the data fields task pane to get the name back (SharePoint does these things to us to build character). Try this as a formula for your button label:&lt;/p&gt;&lt;p&gt;count(xdXDocument:GetDOM(&amp;quot;GL Letter Register - List&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW[d:_64ca7bf1_31d4_4bd3_84e0_9d4f841f87ea = current()/d:_64ca7bf1_31d4_4bd3_84e0_9d4f841f87ea]) &amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Counting Duplicate Values in a Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/108402.aspx</link><pubDate>Tue, 01 Nov 2016 22:33:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:108402</guid><dc:creator>edgfox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/108402.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=108402</wfw:commentRss><description>Ahh. Try this.</description></item><item><title>Re: Counting Duplicate Values in a Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/108401.aspx</link><pubDate>Tue, 01 Nov 2016 22:19:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:108401</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/108401.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=108401</wfw:commentRss><description>Sadly, the forum only allows one attachment per post, can you attach your screenshot again? Just add it under the options tab. Thanks!</description></item><item><title>Re: Counting Duplicate Values in a Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/108398.aspx</link><pubDate>Tue, 01 Nov 2016 22:09:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:108398</guid><dc:creator>edgfox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/108398.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=108398</wfw:commentRss><description>Hi. Yes I am still stuck on this. I have attached a screen shot of the register as well as the template. So from the screen shot, I am wanting the &amp;quot;Group&amp;quot; button to show the number of times the relative parent node on that row is duplicated. The Group button queries the data and will return all results where the parent node is equal to the parent node of that row. But I want the user to know how many it will pull back before running the query. So the first Group button will have 6 showing on the button, as the node &amp;#39;VAR-LET-0001-S&amp;#39; is shown 6 times in that column. The next 2 Rows will also show 6, as it is the same node. The fourth row will show the number 1, as it is the only &amp;#39;COM-LET-0001-S&amp;#39; in that column. etc. etc. 

Apologies if I am not using the correct terminology. Only just starting out with InfoPath. 

Appreciate any help on the matter. 

Ed</description></item><item><title>Re: Counting Duplicate Values in a Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/108387.aspx</link><pubDate>Tue, 01 Nov 2016 14:18:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:108387</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/108387.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=108387</wfw:commentRss><description>If you are still stuck on this, can you attach a copy of your template under the options tab in a reply? I&amp;#39;ll take a look &amp;amp; give you a hand.</description></item><item><title>Counting Duplicate Values in a Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/108250.aspx</link><pubDate>Mon, 17 Oct 2016 00:32:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:108250</guid><dc:creator>edgfox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/108250.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=108250</wfw:commentRss><description>Hi, 

I have been unable to find an answer to this anywhere online. So hopefully someone here can give me a hand. 

I have a document generator and register. Once a document is generated by a user (just a list of questions), it is added to the register. One of the questions on the generator page is &amp;quot;Are there any referenced documents&amp;quot;. If the user selects yes, the list of documents from the register is returned and the user is to select which document it references. So on the register, a document can have several documents referencing it (all have a common reference number &amp;quot;ParentNode&amp;quot;). At the press of a button on a line in the register, all documents that reference this &amp;quot;ParentNode&amp;quot; are queried and shown on the register. What I am wanting is to show on the label of the button, the number of documents that will be shown back. It seems to be a complex formula using count() and preceding-sibling. My attempt: 

count(xdXDocument:GetDOM(&amp;quot;LISTNAME&amp;quot;)//dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Title[d:ParentNode = preceding-sibling::d:SharePointListItem_RW/d:ParentNode])

But this does not work. 

So in words, the formula is to say on each line of the repeating table:

Count the number of time this &amp;quot;ParentNode&amp;quot; from the column &amp;quot;Reference&amp;quot; is repeated in the column &amp;quot;Reference&amp;quot;. Give back a single number. 

Appreciate any assistance. 

Ed</description></item></channel></rss>