<?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: Repeating table and value from previous row</title><link>https://www.infopathdev.com:443/forums/thread/71635.aspx</link><pubDate>Wed, 02 Nov 2011 12:46:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:71635</guid><dc:creator>Karsten Brocksieper</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/71635.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=71635</wfw:commentRss><description>&lt;p&gt;Hi Jimmy,&lt;/p&gt;&lt;p&gt;...Life can be soooo easy... :-)&lt;/p&gt;&lt;p&gt;That´s it !!!&lt;/p&gt;&lt;p&gt;Thank you very much for your quick help...&lt;/p&gt;</description></item><item><title>Re: Repeating table and value from previous row</title><link>https://www.infopathdev.com:443/forums/thread/71631.aspx</link><pubDate>Wed, 02 Nov 2011 12:33:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:71631</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/71631.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=71631</wfw:commentRss><description>&lt;p&gt;How about this:&lt;/p&gt;
&lt;p&gt;&lt;font face=""&gt;../preceding-sibling::my:RepeatingGroup[1]/my:One_Of_MyFields&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Incidentally, your approach should work, and it did work when I tried it.&amp;nbsp; This part is incorrect:&amp;nbsp; &lt;font face=""&gt;count(../preceding-sibling::my:RepeatingGroup); it shouldn&amp;#39;t have the ../ in it, but that may have just been a typo when you were entering it here in the forum.&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Repeating table and value from previous row</title><link>https://www.infopathdev.com:443/forums/thread/71629.aspx</link><pubDate>Wed, 02 Nov 2011 12:19:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:71629</guid><dc:creator>Karsten Brocksieper</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/71629.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=71629</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;I would like to set the value of a textfield in a repeating table with exact the same value from the same field in the previous row. In my humble opinion I have thought that I can do this with the following formula as the &amp;#39;Default value&amp;#39; and uncheck the option &amp;#39;Refresh value when formula is recalculated&amp;#39;.&lt;/p&gt;&lt;p&gt;&lt;font face="courier new,courier"&gt;../preceding-sibling::my:RepeatingGroup[count(../preceding-sibling::my:RepeatingGroup) = count(current()/../preceding-sibling::my:RepeatingGroup) - 1]/my:One_Of_MyFields&lt;/font&gt;&lt;/p&gt;&lt;p&gt;Unfortunately this works only for the second row --- but no more for the following inserts.&lt;/p&gt;&lt;p&gt;Can anyone help me that in every case the value in the new inserted row is taken from the same field in the previous row.&lt;/p&gt;&lt;p&gt;Thank you very much for any help.&lt;/p&gt;&lt;p&gt;Regards,&lt;/p&gt;</description></item></channel></rss>