<?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 - Initialize new Row</title><link>https://www.infopathdev.com:443/forums/thread/9087.aspx</link><pubDate>Mon, 09 Oct 2006 19:20:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:9087</guid><dc:creator>Shiraz Cupala</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/9087.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=9087</wfw:commentRss><description>This is old but figured I'd just wrap up the question.  The reason why it doesn't work is that you can't actually attach the rule to the new insert.  It might work with a default value, but I've never tried it.  If you use default value, be sure to uncheck the box to update value when formula result changes.  Or else changing the previous would would update the following item.</description></item><item><title>Re: Repeating Table - Initialize new Row</title><link>https://www.infopathdev.com:443/forums/thread/9086.aspx</link><pubDate>Tue, 21 Feb 2006 22:43:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:9086</guid><dc:creator>johngidd</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/9086.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=9086</wfw:commentRss><description>Is there a reason why this does not work via rules applied to a repeating section?  I have tried a rule on the repeating section (ie new inserts) to copy the value from the immediately preceding section related control to the related control in the new section.  Using preceding-sibling the result always returns the original first row control value.  Just curious if this is just me and my lack of understanding regarding xpath, in which case just say "yah" and I'll know its just me :)  I generally do not get that involved in the UI design layer of infopath, but I thought maybe such a rule would work.</description></item><item><title>Re: Repeating Table - Initialize new Row</title><link>https://www.infopathdev.com:443/forums/thread/9085.aspx</link><pubDate>Wed, 15 Feb 2006 20:43:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:9085</guid><dc:creator>Agni Jonnalagadda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/9085.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=9085</wfw:commentRss><description>Hi,&lt;br /&gt;1. You need to have an OnAfterChange method on the repeating node.&lt;br /&gt;2. Check if e.Operation is Insert or not, if not return.&lt;br /&gt;3. Now check the e.Site.nodeName is equal to the node name that you are trying to insert.&lt;br /&gt;4. Now get the preceding-sibling of the newly inserted node.&lt;br /&gt;e.Site.selectSingleNode("preceding-sibling:NodeName");&lt;br /&gt;5. Now you can copy values from the previous node to the newly inserted node.&lt;br /&gt;&lt;br /&gt;Agni&lt;br /&gt;INFOPATHdev India</description></item><item><title>Repeating Table - Initialize new Row</title><link>https://www.infopathdev.com:443/forums/thread/5361.aspx</link><pubDate>Wed, 15 Feb 2006 13:32:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:5361</guid><dc:creator>vista_live</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/5361.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=5361</wfw:commentRss><description>Hi,&lt;br /&gt;How to initialize the newly inserted row with values from previously selected row. &lt;br /&gt;Any ideas ,&lt;br /&gt;&lt;br /&gt;Thanks in Advance,&lt;br /&gt;:)</description></item></channel></rss>