<?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 number of occurrences of a repeating group</title><link>https://www.infopathdev.com:443/forums/thread/41194.aspx</link><pubDate>Thu, 30 Apr 2009 22:57:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:41194</guid><dc:creator>jhelfrich</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/41194.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=41194</wfw:commentRss><description>&lt;p&gt;Thanks so much...I got it.&lt;/p&gt;</description></item><item><title>Re: Counting number of occurrences of a repeating group</title><link>https://www.infopathdev.com:443/forums/thread/41193.aspx</link><pubDate>Thu, 30 Apr 2009 22:50:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:41193</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/41193.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=41193</wfw:commentRss><description>&lt;p&gt;Hello, apologies for the broken link. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;Try these:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.infopathdev.com/files/folders/examples/entry41112.aspx"&gt;http://www.infopathdev.com/files/folders/examples/entry41112.aspx&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.infopathdev.com/files/folders/examples/entry41113.aspx"&gt;http://www.infopathdev.com/files/folders/examples/entry41113.aspx&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: Counting number of occurrences of a repeating group</title><link>https://www.infopathdev.com:443/forums/thread/41191.aspx</link><pubDate>Thu, 30 Apr 2009 21:49:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:41191</guid><dc:creator>jhelfrich</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/41191.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=41191</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hello,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I have the same issue, but the link is borken on your sample. Can you help me out?&lt;/p&gt;</description></item><item><title>Re: Counting number of occurrences of a repeating group</title><link>https://www.infopathdev.com:443/forums/thread/31661.aspx</link><pubDate>Sun, 24 Aug 2008 22:30:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31661</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31661.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=31661</wfw:commentRss><description>&lt;p&gt;Fantastic -- glad you were able to translate the xpath to your data source! &lt;/p&gt;</description></item><item><title>Re: Counting number of occurrences of a repeating group</title><link>https://www.infopathdev.com:443/forums/thread/31660.aspx</link><pubDate>Sun, 24 Aug 2008 22:09:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31660</guid><dc:creator>cbrown00</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31660.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=31660</wfw:commentRss><description>&lt;p&gt;Hilary..it worked like a champ.&amp;nbsp; Thanks!&lt;/p&gt;</description></item><item><title>Re: Counting number of occurrences of a repeating group</title><link>https://www.infopathdev.com:443/forums/thread/31658.aspx</link><pubDate>Sun, 24 Aug 2008 17:41:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31658</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31658.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=31658</wfw:commentRss><description>&lt;p&gt;Hi:&lt;/p&gt;
&lt;p&gt;You can use preceding-sibling with the count function to create a row counter (or, in your case, a meeting number). &lt;a href="http://www.infopathdev.com/files/folders/basics/entry31166.aspx"&gt;Here&lt;/a&gt; is a sample form that uses that functionality. Since this count will be zero based, you need to add one to the formula for the counter to begin with 1 (because, for the first group, if you count the preceding-siblings, you will have zero, of course!). &lt;/p&gt;
&lt;p&gt;If the sample is too general and you need more help, let me know, and post a screenshot (or describe) your data source so I&amp;#39;ll be able to figure out the correct xpath.&lt;/p&gt;</description></item><item><title>Counting number of occurrences of a repeating group</title><link>https://www.infopathdev.com:443/forums/thread/31657.aspx</link><pubDate>Sun, 24 Aug 2008 02:55:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31657</guid><dc:creator>cbrown00</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31657.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=31657</wfw:commentRss><description>&lt;p&gt;My InfoPath 2007 form has&amp;nbsp;a repeating group whose fields hold data related to meeting attendees (attendee names, contact info, etc.)&amp;nbsp; One of the fields (labeled Meeting No.) exists to show the meeting&amp;#39;s number in the sequence of more than one meeting.&amp;nbsp;&amp;nbsp;I want this field&amp;#39;s value to automatically increment&amp;nbsp;by 1 each time a&amp;nbsp;new meeting / group is invoked.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Currently, I have the Meeting No. default value set to 1.&amp;nbsp; I&amp;#39;ve set rules in both parent group and repeating group to &amp;quot;set a field&amp;#39;s value&amp;quot; where I reference the meeting no. field and add &amp;quot;1&amp;quot; to it.&amp;nbsp; When I then increment the repeating group, it is taking the default value each time, and adding 1 to it... so.. the second group is labeled 2, but so is the third group.&lt;/p&gt;
&lt;p&gt;How can I get the &amp;quot;meeting no.&amp;quot; field to increment correctly?&lt;/p&gt;</description></item></channel></rss>