<?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: Count multiple values in repeating table</title><link>https://www.infopathdev.com:443/forums/thread/78777.aspx</link><pubDate>Fri, 18 May 2012 17:39:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78777</guid><dc:creator>rdrnnr</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78777.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=78777</wfw:commentRss><description>&lt;p&gt;great, I&amp;#39;ll give it a try.&amp;nbsp; I appreciate your assistance!&amp;nbsp; Have a great weekend!&lt;/p&gt;</description></item><item><title>Re: Count multiple values in repeating table</title><link>https://www.infopathdev.com:443/forums/thread/78775.aspx</link><pubDate>Fri, 18 May 2012 17:30:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78775</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78775.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=78775</wfw:commentRss><description>&lt;p&gt;In that case, I think the following should allow you to count how many fields with each response there are:&lt;/p&gt;&lt;p&gt;&amp;nbsp;count(//*[starts-with(local-name(), &amp;#39;gpsresp&amp;#39;)][. = &amp;#39;Pass&amp;#39;])&lt;/p&gt;</description></item><item><title>Re: Count multiple values in repeating table</title><link>https://www.infopathdev.com:443/forums/thread/78771.aspx</link><pubDate>Fri, 18 May 2012 17:06:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78771</guid><dc:creator>rdrnnr</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78771.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=78771</wfw:commentRss><description>&lt;p&gt;yes, the dropdowns in that section all start with gpsresp then the number of the question.&amp;nbsp; The comment boxes start with gpscom then the number of the question (text box).&lt;/p&gt;</description></item><item><title>Re: Count multiple values in repeating table</title><link>https://www.infopathdev.com:443/forums/thread/78770.aspx</link><pubDate>Fri, 18 May 2012 16:56:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78770</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78770.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=78770</wfw:commentRss><description>Almost.&amp;nbsp; I wanted to see the contents of the Data Source taskpane (see where it says Data Source on the right side of your first screenshot?)&amp;nbsp; But this may be enough.&amp;nbsp; Do all the dropdown boxes have a name starting with gpsresp, and are the dropdowns the only fields with names like that?</description></item><item><title>Re: Count multiple values in repeating table</title><link>https://www.infopathdev.com:443/forums/thread/78769.aspx</link><pubDate>Fri, 18 May 2012 16:25:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78769</guid><dc:creator>rdrnnr</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78769.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=78769</wfw:commentRss><description>&lt;p&gt;Oops sorry.&amp;nbsp; I&amp;#39;ve opened the data source (control) and screen shot that.&amp;nbsp; Is this what you&amp;#39;re looking for?&lt;/p&gt;</description></item><item><title>Re: Count multiple values in repeating table</title><link>https://www.infopathdev.com:443/forums/thread/78767.aspx</link><pubDate>Fri, 18 May 2012 16:14:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78767</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78767.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=78767</wfw:commentRss><description>It seems you have attached a screenshot of the form&amp;#39;s layout, but not its data source.&amp;nbsp; I need to see what the data source looks like in order to help you.</description></item><item><title>Re: Count multiple values in repeating table</title><link>https://www.infopathdev.com:443/forums/thread/78765.aspx</link><pubDate>Fri, 18 May 2012 16:04:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78765</guid><dc:creator>rdrnnr</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78765.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=78765</wfw:commentRss><description>&lt;p&gt;Have attached a screen shot.&amp;nbsp; In the drop down, have options of selecting &amp;#39;pass&amp;#39; &amp;#39;finding&amp;#39; or &amp;#39;discrepancy&amp;#39;.&amp;nbsp; Thanks.&lt;/p&gt;</description></item><item><title>Re: Count multiple values in repeating table</title><link>https://www.infopathdev.com:443/forums/thread/78764.aspx</link><pubDate>Fri, 18 May 2012 15:53:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78764</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78764.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=78764</wfw:commentRss><description>That would depend on how your data source is structured.&amp;nbsp; Could you attach a screenshot of enough to give us an idea of how you&amp;#39;ve organized it?</description></item><item><title>Re: Count multiple values in repeating table</title><link>https://www.infopathdev.com:443/forums/thread/78763.aspx</link><pubDate>Fri, 18 May 2012 15:38:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78763</guid><dc:creator>rdrnnr</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78763.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=78763</wfw:commentRss><description>&lt;p&gt;I like easier ways...&amp;nbsp; I have a checklist asking a question with a drop down control with answers (these are the ones I want to count) and then a comment text box.&amp;nbsp; I&amp;#39;ve used the count method you mention above, however, it limited me on the number of fields I could count to something like 40 (ish).&amp;nbsp; I have 182 questions.&amp;nbsp; Is there an easier way to count them?&amp;nbsp; Thanks.&lt;/p&gt;</description></item><item><title>Re: Count multiple values in repeating table</title><link>https://www.infopathdev.com:443/forums/thread/78760.aspx</link><pubDate>Fri, 18 May 2012 15:29:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78760</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78760.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=78760</wfw:commentRss><description>&lt;p&gt;Depending on your data source is organized, there may be a simpler way, but generally for disparate fields, the way to count how many have a certain value is:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;count((&lt;strong&gt;&lt;u&gt;firstField&lt;/u&gt;&lt;/strong&gt; | &lt;strong&gt;&lt;u&gt;secondField&lt;/u&gt;&lt;/strong&gt; | ... | &lt;strong&gt;&lt;u&gt;lastField&lt;/u&gt;&lt;/strong&gt;)[. = &amp;#39;pass&amp;#39;])&lt;/p&gt;&lt;/blockquote&gt;</description></item><item><title>Re: Count multiple values in repeating table</title><link>https://www.infopathdev.com:443/forums/thread/78754.aspx</link><pubDate>Fri, 18 May 2012 14:10:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78754</guid><dc:creator>rdrnnr</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78754.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=78754</wfw:commentRss><description>Will that formula work if the items you want to count are not in a repeating table?&amp;nbsp; In other words, I have over 100 controls and want to count them if they = pass or = deficiency.</description></item><item><title>Re: Count multiple values in repeating table</title><link>https://www.infopathdev.com:443/forums/thread/76850.aspx</link><pubDate>Mon, 26 Mar 2012 15:48:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76850</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76850.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=76850</wfw:commentRss><description>&lt;p&gt;At the point where you are adding the filter, you are already at the child node. You have to use the relative path - in fact, you were using a relative path, but relative to the node the default was on. The error kind of tells you what was going on - it said that this:&lt;/p&gt;
&lt;p&gt;../../OptGroup_EQUIPMENT/EQUIPMENT/equipmenttype/EquipInsp&lt;/p&gt;
&lt;p&gt;Did not point to a field or group.&lt;/p&gt;</description></item><item><title>Re: Count multiple values in repeating table</title><link>https://www.infopathdev.com:443/forums/thread/76839.aspx</link><pubDate>Mon, 26 Mar 2012 10:56:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76839</guid><dc:creator>Laura</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76839.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=76839</wfw:commentRss><description>&lt;p&gt;Great, this works, I am thrilled.&amp;nbsp; Thank you for your time.&lt;/p&gt;
&lt;p&gt;Could you explain why using the full xpath did not work for the second reference (equipinsp = fail)?&amp;nbsp; It seems like using the full path would always work.&lt;/p&gt;</description></item><item><title>Re: Count multiple values in repeating table</title><link>https://www.infopathdev.com:443/forums/thread/76803.aspx</link><pubDate>Fri, 23 Mar 2012 15:03:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76803</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76803.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=76803</wfw:commentRss><description>&lt;p&gt;Oh, I made a mistake!&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;count (../../OptGroup_EQUIPMENT/EQUIPMENT/equipmenttype[. = &amp;quot;Ladder&amp;quot; and &lt;strong&gt;../&lt;/strong&gt;EquipInsp = &amp;#39;Fail&amp;#39;])&lt;/p&gt;&lt;/blockquote&gt;</description></item><item><title>Re: Count multiple values in repeating table</title><link>https://www.infopathdev.com:443/forums/thread/76802.aspx</link><pubDate>Fri, 23 Mar 2012 15:00:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76802</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76802.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=76802</wfw:commentRss><description>&lt;p&gt;What field are you setting the default value on?&lt;/p&gt;</description></item></channel></rss>