<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Insert Duplicate Row in Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/57501.aspx</link><pubDate>Sat, 31 Jul 2010 12:25:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57501</guid><dc:creator>Potemkine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57501.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=57501</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi, I usually program on C# 2003/2007, but I don&amp;#39;t know exactly the code in VB script.&lt;/p&gt;&lt;p&gt;You can make a reference of your repeating row. After that you make a clone of this node and you insert it in your repeating table.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Insert Duplicate Row in Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/57423.aspx</link><pubDate>Wed, 28 Jul 2010 19:28:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57423</guid><dc:creator>AzuDaioh</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57423.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=57423</wfw:commentRss><description>&lt;p&gt;Hello Everyone, I&amp;#39;m wondering if its possible to insert a duplicate row in my repeating table. I found a solution to insert a new blank row using a button with this code:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;XDocument.View.ExecuteAction &amp;quot;xCollection::insert&amp;quot;, &amp;quot;PayHistory_47&amp;quot;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;PayHistory_47 is the xmlToEdit name of my repeating table.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;But I would really want to use a check box instead of a command button.&amp;nbsp;One of the columns in my repeating table is &amp;quot;FullPartialOP&amp;quot; and when user checks this box, it should insert a new &amp;#39;duplicate&amp;#39; row of the current row.&amp;nbsp; Is this possible?&amp;nbsp; I found another solution here: &lt;a href="http://www.infopathdev.com/forums/p/9514/33651.aspx"&gt;http://www.infopathdev.com/forums/p/9514/33651.aspx&lt;/a&gt;&amp;nbsp;but i&amp;#39;m so confused how to use the other example written in vbscript.&lt;/p&gt;
&lt;p&gt;Im using Infopath 2003 sp1 and vbscript. &lt;/p&gt;
&lt;p&gt;Any help/guidance is greatly appreciated.&lt;/p&gt;
&lt;p&gt;Thank you all&lt;/p&gt;</description></item></channel></rss>