<?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: Repeatable table counting</title><link>https://www.infopathdev.com:443/forums/thread/57962.aspx</link><pubDate>Fri, 13 Aug 2010 10:34:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57962</guid><dc:creator>Stevio</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57962.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=57962</wfw:commentRss><description>&lt;p&gt;Found the solution in this threat: &lt;a href="http://www.infopathdev.com/forums/p/858/39921.aspx"&gt;http://www.infopathdev.com/forums/p/858/39921.aspx&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Repeatable table counting</title><link>https://www.infopathdev.com:443/forums/thread/57933.aspx</link><pubDate>Thu, 12 Aug 2010 14:52:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57933</guid><dc:creator>Stevio</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57933.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=57933</wfw:commentRss><description>&lt;p&gt;In Infopath 2007 I have created a repeatable table with a data connection to Sharepoint. In&amp;nbsp;Sharepoint there is a list of all pupils (600 approx)&amp;nbsp;(first and last name, classroom)&lt;/p&gt;
&lt;p&gt;The repeatable&amp;nbsp;should look like this:&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Classroom&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; number of pupils.&lt;/p&gt;
&lt;p&gt;A1&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;&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;3&amp;nbsp;&amp;nbsp; &lt;/p&gt;
&lt;p&gt;A3&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;&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; 7&lt;/p&gt;
&lt;p&gt;B7&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;&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; 9&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;First I had the problem with duplicated Classrooms, since there are +- 20 pupils in a class. With&amp;nbsp;preciding-sibling&amp;nbsp;as the&amp;nbsp;conditional-format on the table this was solved.&lt;br /&gt;The only thing that still remains that I cannot get the number of pupils right. Is the following possible? To get the value from the row next to the number of pupils&amp;nbsp;and use this as a default value on a field.&lt;/p&gt;
&lt;p&gt;Like: count(@Classroom[contains(.; &amp;quot;&lt;strong&gt;{getvalue of each left row}&lt;/strong&gt;&amp;quot;)])&amp;nbsp;&amp;nbsp; ?&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;So it will show &amp;quot;A1&amp;quot; = 3&lt;br /&gt;and in the next one &amp;quot;A3&amp;quot; = 7&lt;/p&gt;
&lt;p&gt;Instead of now I got everytime as a result 1 on all fields.&lt;/p&gt;
&lt;p&gt;How can I do this or get this working?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks for any help.&lt;/p&gt;</description></item></channel></rss>