<?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: Default Values per Row in Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/88202.aspx</link><pubDate>Tue, 19 Mar 2013 20:54:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:88202</guid><dc:creator>Jim Shorts</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/88202.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=88202</wfw:commentRss><description>&lt;p&gt;Sorry about the post.&amp;nbsp; Go figure that I would get it right after I posted this.&amp;nbsp; Simple fix...went in to show the XPath and changed the my:group2 to my:SharePointListItem_RW!&lt;/p&gt;</description></item><item><title>Default Values per Row in Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/88201.aspx</link><pubDate>Tue, 19 Mar 2013 20:42:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:88201</guid><dc:creator>Jim Shorts</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/88201.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=88201</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I&amp;#39;ve done a ton of research on trying to get different default values to show up in each individual row of a repeating table.&amp;nbsp; I know that you can have standard Text that you type in to the default values section show up, but I need this to be based on a formula.&amp;nbsp; Once I set the formula for one field within my repeating table, it automatically sets it for that field for each row I&amp;#39;ve added.&lt;/p&gt;
&lt;p&gt;I found this link on this forum and it almost gets me to where i need to be: &lt;a href="http://www.infopathdev.com/forums/p/14016/49888.aspx"&gt;http://www.infopathdev.com/forums/p/14016/49888.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If you notice the XML that Jimmy posted on 12-10-09, I see that in his No. column, he has a formula that looks like this: count(preceding-sibling::group2) + 1 or the full XPath of: count(../preceding-sibling::my:group2) + 1&lt;/p&gt;
&lt;p&gt;I have no issues bringing up the count function, but I&amp;#39;m not able to properly route the preceding-sibling:: section of the formula.&amp;nbsp; I continually get errors.&amp;nbsp; Any ideas on how to integrate this into my count formula?&amp;nbsp; Just as an FYI, the path to what is the equivalent of &amp;quot;group2&amp;quot; in my form is: /dfs:myFields/dfs:dataFields/my:SharePointListItem_RW&lt;/p&gt;
&lt;p&gt;Thank you!&lt;/p&gt;</description></item></channel></rss>