<?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: Copy rows of a repeating table to another repeating table using a check box</title><link>https://www.infopathdev.com:443/forums/thread/108158.aspx</link><pubDate>Tue, 04 Oct 2016 14:12:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:108158</guid><dc:creator>Rehab</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/108158.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=108158</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi dear,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; I need your help. I&amp;#39;ve 2 views for infopath form (original and updated). I&amp;#39;ve a repeating table in the original one, i need it to be copied in updated view but the issue is I need to keep the &lt;b&gt;original one as is &lt;/b&gt;but the copy operation makes that impossible as any change in the updated one reflects in the original one. I need to copy the original in the updated and keep any changes in the table in the &lt;b&gt;updated only.&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Is that possible?!&lt;/p&gt;&lt;p&gt;Thanks in advance,&lt;/p&gt;&lt;p&gt;Rehab, &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Copy rows of a repeating table to another repeating table using a check box</title><link>https://www.infopathdev.com:443/forums/thread/89326.aspx</link><pubDate>Mon, 29 Apr 2013 15:37:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:89326</guid><dc:creator>40andinschool2</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/89326.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=89326</wfw:commentRss><description>&lt;p&gt;Hilary,&lt;/p&gt;
&lt;p&gt;The form only submits to an Access database.&amp;nbsp; I will try each of the suggestions you have made.&lt;/p&gt;
&lt;p&gt;Chad&lt;/p&gt;</description></item><item><title>Re: Copy rows of a repeating table to another repeating table using a check box</title><link>https://www.infopathdev.com:443/forums/thread/89319.aspx</link><pubDate>Mon, 29 Apr 2013 14:38:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:89319</guid><dc:creator>40andinschool2</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/89319.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=89319</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Rob,&lt;/p&gt;
&lt;p&gt;Thanks for the response and sorry for my delay.&amp;nbsp; I was out for the weekend visiting the kids.&lt;/p&gt;
&lt;p&gt;Here are my xpath schemas.&amp;nbsp; I would like to enter data into the Secondary Source&lt;strong&gt;&lt;em&gt; &lt;/em&gt;&lt;/strong&gt;(&lt;strong&gt;&lt;em&gt;/dfs:myFields/my:Copy/my:CopyFrom&lt;/em&gt;&lt;/strong&gt;) and have it copy to the Main Source&amp;nbsp;(&lt;em&gt;&lt;strong&gt;/dfs:myFields/dfs:dataFields/d:POG_MasterList_InfoPath&lt;/strong&gt;&lt;/em&gt;) so I can submit the information back to the Access Database&lt;/p&gt;
&lt;p&gt;Data Fields for&amp;nbsp;the Main Source (Access table - Read/Write)&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;/dfs:myFields/dfs:dataFields/d:POG_MasterList_InfoPath&amp;nbsp;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Data Fields for the Secondary&amp;nbsp;Source (Access Table - Read Only)&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;/dfs:myFields/my:Copy/my:CopyFrom&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Thank you - Chad&lt;/p&gt;</description></item><item><title>Re: Copy rows of a repeating table to another repeating table using a check box</title><link>https://www.infopathdev.com:443/forums/thread/89303.aspx</link><pubDate>Sun, 28 Apr 2013 00:01:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:89303</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/89303.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=89303</wfw:commentRss><description>&lt;p&gt;Here&amp;#39;s a simple sample I blogged in 2011 that shows the technique Jimmy and Hilary are referring to (in addition to the qRules technique) - both techniques require zero coding.&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.infopathdev.com/blogs/patrick/archive/2011/09/03/free-sample-copying-repeating-data.aspx"&gt;http://www.infopathdev.com/blogs/patrick/archive/2011/09/03/free-sample-copying-repeating-data.aspx&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: Copy rows of a repeating table to another repeating table using a check box</title><link>https://www.infopathdev.com:443/forums/thread/89301.aspx</link><pubDate>Sat, 27 Apr 2013 13:45:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:89301</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/89301.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=89301</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Does your form submit just to a SQL database? That is, you don&amp;#39;t save the XML anywhere? If so, it may be possible to do what you need w/ very limited or no code, depending on how much work is acceptable for the users. One option would be to use default values for the main data source fields that get their info from the 2ds - if your form just submits to SQL (or Access), then you shouldn&amp;#39;t have to worry about whether the 2ds values change (you won&amp;#39;t be re-opening an XML later and having incorrect or missing data). From there, you could either let the user click insert on the main table (for no code), or you could use something like &lt;a href="http://www.infopathdev.com/blogs/jimmy/archive/2009/03/06/automatically-adding-rows-to-repeating-sections.aspx"&gt;this&lt;/a&gt; suggestion from Jimmy (for very limited code) to just add the rows and let the default values populate the data.&lt;/p&gt;</description></item><item><title>Re: Copy rows of a repeating table to another repeating table using a check box</title><link>https://www.infopathdev.com:443/forums/thread/89298.aspx</link><pubDate>Fri, 26 Apr 2013 21:20:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:89298</guid><dc:creator>RobSil1976</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/89298.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=89298</wfw:commentRss><description>&lt;p&gt;Chad if you can post your xpath schema I can help you with the code... just finished doing something similar.&amp;nbsp; At a high level in your code behind:&lt;/p&gt;&lt;p&gt;1. Confirm you have items to copy.&lt;/p&gt;&lt;p&gt;2. Make sure destination is empty (empty if not by a sub-method that will iterate over children and deleteself() on each child).&lt;/p&gt;&lt;p&gt;3. Node iterator over source RT.&lt;/p&gt;&lt;p&gt;4. Extract values and build up xmldocument of destination RT and then AppendChild() to add XmlDocument as a row in the new Dest repeating table.&lt;/p&gt;&lt;p&gt;Few gotchas... in the destination RT, you MUST adhere to the schema strictly (sequence, sub-rows etc.), and lookout for nulls of primitive datatypes as required.&amp;nbsp; I gave up on trying to have a highly nested schema as it was a real chore to try to build up my new DOM, instead I oped for a single depth level (my:group/my:innergroup - innergroup is the rows in RT that repeat).&lt;/p&gt;&lt;p&gt;Hope this helps,&lt;/p&gt;&lt;p&gt;Rob&lt;/p&gt;</description></item><item><title>Re: Copy rows of a repeating table to another repeating table using a check box</title><link>https://www.infopathdev.com:443/forums/thread/89295.aspx</link><pubDate>Fri, 26 Apr 2013 18:54:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:89295</guid><dc:creator>40andinschool2</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/89295.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=89295</wfw:commentRss><description>&lt;p&gt;Great!&amp;nbsp; Thank you.&amp;nbsp; - Chad&lt;/p&gt;</description></item><item><title>Re: Copy rows of a repeating table to another repeating table using a check box</title><link>https://www.infopathdev.com:443/forums/thread/89294.aspx</link><pubDate>Fri, 26 Apr 2013 18:50:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:89294</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/89294.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=89294</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;You can attach them under the Options tab in a reply. It will be later in the day before I&amp;#39;ll have time to take a look at this. :)&lt;/p&gt;</description></item><item><title>Re: Copy rows of a repeating table to another repeating table using a check box</title><link>https://www.infopathdev.com:443/forums/thread/89293.aspx</link><pubDate>Fri, 26 Apr 2013 18:31:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:89293</guid><dc:creator>40andinschool2</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/89293.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=89293</wfw:commentRss><description>&lt;p&gt;Is there a way to send two screen shots to you?&lt;/p&gt;</description></item><item><title>Re: Copy rows of a repeating table to another repeating table using a check box</title><link>https://www.infopathdev.com:443/forums/thread/89292.aspx</link><pubDate>Fri, 26 Apr 2013 18:07:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:89292</guid><dc:creator>40andinschool2</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/89292.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=89292</wfw:commentRss><description>&lt;p&gt;Hilary,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;This is a database form (call it Master).&amp;nbsp; I have added a text box with a rule that says &amp;quot;when value = Edit&amp;quot; the query runs against the database and allows the user to update and save the changes to the existing master database table. The second part is &amp;quot;If the text box says Add&amp;quot; then allow the user to write the new data to the Mastert database table.&amp;nbsp;&amp;nbsp;I hope this helps a little.&amp;nbsp; I am normally told not to be so detail oriented so I am&amp;nbsp;trying not to give more information than you may need.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thank you again for your help.&amp;nbsp; I am going into 4 weeks on this form and feel like I am not getting anywhere.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Chad&lt;/p&gt;</description></item><item><title>Re: Copy rows of a repeating table to another repeating table using a check box</title><link>https://www.infopathdev.com:443/forums/thread/89283.aspx</link><pubDate>Fri, 26 Apr 2013 14:59:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:89283</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/89283.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=89283</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;So, can you tell me more about the architecture here? You mention database integrity - so is this a database bound form?&lt;/p&gt;</description></item><item><title>Re: Copy rows of a repeating table to another repeating table using a check box</title><link>https://www.infopathdev.com:443/forums/thread/89280.aspx</link><pubDate>Fri, 26 Apr 2013 14:52:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:89280</guid><dc:creator>40andinschool2</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/89280.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=89280</wfw:commentRss><description>&lt;p&gt;&lt;font size="3" face="Times New Roman"&gt;Hilary, thank you for the very quick response.&amp;nbsp; Can you suggest an alternate approach to doing what I need the form to do?&amp;nbsp; I need to be able to maintain the integrity of the database connection while having the ability to write new records without having the user manually add each record.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="3" face="Times New Roman"&gt;Thank you - Chad&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Re: Copy rows of a repeating table to another repeating table using a check box</title><link>https://www.infopathdev.com:443/forums/thread/89219.aspx</link><pubDate>Wed, 24 Apr 2013 23:25:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:89219</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/89219.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=89219</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi - This is just one of those things in InfoPath that requires code, unfortunately, and it is hard to provide a generic example when the schemas in your form will likely vary quite a bit from any sample I can come up with.&lt;/p&gt;&lt;p&gt;That said, give &lt;a href="http://www.infopathdev.com/blogs/hilary/archive/2008/07/04/how-do-i-copy-repeating-data-from-an-external-source-into-my-form.aspx"&gt;this&lt;/a&gt; blog post a try, or try out the trial of &lt;a href="http://www.qdabra.com/en/products/qRules_new.aspx"&gt;qRules&lt;/a&gt; (which would allow you to not have to write your own code at all).&lt;/p&gt;</description></item><item><title>Copy rows of a repeating table to another repeating table using a check box</title><link>https://www.infopathdev.com:443/forums/thread/89214.aspx</link><pubDate>Wed, 24 Apr 2013 17:05:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:89214</guid><dc:creator>40andinschool2</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/89214.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=89214</wfw:commentRss><description>&lt;p&gt;Hello.&amp;nbsp; This is my first post so I hope the format is correct.&amp;nbsp; I have been spinning my wheels for the last three weeks trying to figure out how to copy rows of data from one repeating table to another repeating table.&amp;nbsp; I would like to click a check box&amp;nbsp;and have the corresponding row&amp;nbsp; populate a second repeating table.&amp;nbsp; I am not a &amp;quot;code&amp;quot; person so the littlest amount possible would be great.&amp;nbsp; Thanks for help, in advance.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>