<?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 in Repeating Section</title><link>https://www.infopathdev.com:443/forums/thread/46388.aspx</link><pubDate>Fri, 28 Aug 2009 13:51:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46388</guid><dc:creator>Laura</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46388.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=46388</wfw:commentRss><description>&lt;p&gt;I seem to have fixed my situation.&lt;/p&gt;
&lt;p&gt;I had to use expression box and XPath as opposed to just the count(FieldName).&amp;nbsp; Also was able to remove the repeating section and put table in my Opt section&lt;/p&gt;
&lt;p&gt;and it still counted correctly the # of questions from xml source.&amp;nbsp; Seems logical now that it works, although it didn&amp;#39;t earlier.&amp;nbsp; Thank you for your responses!!&lt;/p&gt;</description></item><item><title>Re: Counting in Repeating Section</title><link>https://www.infopathdev.com:443/forums/thread/46379.aspx</link><pubDate>Fri, 28 Aug 2009 09:00:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46379</guid><dc:creator>R&amp;#233;mi MATAYRON</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46379.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=46379</wfw:commentRss><description>&lt;p&gt;This is one solution.&lt;/p&gt;
&lt;p&gt;You can too put a default value to a control outside the repeating section.&lt;/p&gt;
&lt;p&gt;You click the &amp;quot;fx&amp;quot; button and you can do the sum of the chechbox control (which taka 0 or 1).&lt;/p&gt;
&lt;p&gt;So, it will sum all the 1 and you will see the number of true response.&lt;/p&gt;
&lt;p&gt;In order to have all the question, you can use the count function.&lt;/p&gt;</description></item><item><title>Re: Counting in Repeating Section</title><link>https://www.infopathdev.com:443/forums/thread/46376.aspx</link><pubDate>Fri, 28 Aug 2009 05:59:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46376</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46376.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=46376</wfw:commentRss><description>&lt;p&gt;i hope your have a check box for selecting the question. put a rule on the checkbox, if the checkbox is selected increment a global variable by 1, if the checkbox is unchecked decrement the global variable by 1. after the user is done, you will have the count in the global variable. (by global variable i mean one that is outside the section ) &lt;/p&gt;</description></item><item><title>Counting in Repeating Section</title><link>https://www.infopathdev.com:443/forums/thread/46357.aspx</link><pubDate>Thu, 27 Aug 2009 19:35:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46357</guid><dc:creator>Laura</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46357.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=46357</wfw:commentRss><description>&lt;p&gt;Hi, I have a form that has repeating sections and multiple questions within the section.&amp;nbsp; Users can select as many of these sections as needed.&amp;nbsp; This has made my form too large and so I would like to be able to just show a count of how many times these questions have been selected/answered.&amp;nbsp; I only want to display the questions once and then show a count.&lt;/p&gt;
&lt;p&gt;I have tried the count function - count(Fieldname) in an expression box but it only counts 1.&amp;nbsp; I am using a SQL DB as my xml data source.&amp;nbsp; I have tried a number of forums but have not had much luck with suggestions.&amp;nbsp; I would like any solutions anyone would be kind enough to suggest to not involve much back coding as I am unfamiliar with its use.&amp;nbsp;&amp;nbsp;&amp;nbsp; I appreciate any help.&lt;/p&gt;</description></item></channel></rss>