<?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>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Replicatin​g a repeating table / repeating sections</title><link>https://www.infopathdev.com:443/forums/thread/82803.aspx</link><pubDate>Tue, 18 Sep 2012 19:01:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:82803</guid><dc:creator>Shrout1</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/82803.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=82803</wfw:commentRss><description>&lt;p&gt;Sure does, though in my 2 years working where I am I have never seen my organization purchase third party software on the recommendation of a developer. So, would be awesome, if only!&lt;/p&gt;</description></item><item><title>Re: Replicatin​g a repeating table / repeating sections</title><link>https://www.infopathdev.com:443/forums/thread/82797.aspx</link><pubDate>Tue, 18 Sep 2012 16:57:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:82797</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/82797.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=82797</wfw:commentRss><description>&lt;p&gt;Hello Shrout,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; qRules&amp;#39; CopyTable command can be used to copy entire repeating tables from one place to another and that might be able to accomplish what you&amp;#39;re looking to do.&amp;nbsp; I&amp;#39;d imagine you&amp;#39;d have a data source like this:&lt;/p&gt;&lt;p&gt;&amp;nbsp;TopGroup&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; - CurrentLineItems&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;- LineItem (repeating)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; -ChangeRecord&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - ChangeRecordEntry (repeating)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;- Items&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - LineItem (repeating)&lt;/p&gt;&lt;p&gt;Every time the form was submitted, you could use the Insert command to add a new row to the ChangeRecordEntry group, and then use CopyTable to copy the content of CurrentLineItems into /TopGroup/ChangeRecord/ChangeRecordEntry[last()]/Items&lt;/p&gt;&lt;p&gt;Does that sound like something that might work for you?&lt;/p&gt;</description></item><item><title>Replicatin​g a repeating table / repeating sections</title><link>https://www.infopathdev.com:443/forums/thread/82775.aspx</link><pubDate>Tue, 18 Sep 2012 15:11:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:82775</guid><dc:creator>Shrout1</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/82775.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=82775</wfw:commentRss><description>&lt;div&gt;In an InfoPath form I have a repeating section; each repeating section houses a &amp;quot;line item&amp;quot;. There is a &amp;quot;Sum&amp;quot; field that totals all the values in the line items.&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;There are multiple &amp;quot;Sum&amp;quot; values on the form; I.E. there are multiple areas on the form that have multiple repeating sections. Modifications can be made to the line items within each summed section. This means that the &amp;quot;Sum&amp;quot;&amp;nbsp;is really more like a &amp;quot;Running Total&amp;quot; which is modified through the course of the form.&amp;nbsp;&amp;nbsp;Line items can be added and removed but all original information must&amp;nbsp;be retained&amp;nbsp;for tracking purposes. This means that the first &amp;quot;section of repeating sections&amp;quot; must replicate into the second &amp;quot;section of sections&amp;quot;... and then the second into the third and so on.&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;So let&amp;#39;s pretend:&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;Initial form:&lt;/div&gt;
&lt;div&gt;Approved: $5&lt;/div&gt;
&lt;div&gt;Total: $5&lt;/div&gt;
&lt;div&gt;Line item 1: $3&lt;/div&gt;
&lt;div&gt;Line item 2: $2&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;Modification 1:&lt;/div&gt;
&lt;div&gt;Authorized increase: $2&lt;/div&gt;
&lt;div&gt;Total: $7&lt;/div&gt;
&lt;div&gt;Line item 1: $3&lt;/div&gt;
&lt;div&gt;Line item 2: $3&lt;/div&gt;
&lt;div&gt;Line item 3: $1&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;The initial values must exist within the form, the changed values must exist with the form. It all must&amp;nbsp;show the correct&amp;nbsp;running total&amp;nbsp;somehow.&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;I don&amp;#39;t think this can be done without XSLT. Also,&amp;nbsp;I don&amp;#39;t think InfoPath form&amp;nbsp;XSLT can be modified without pulling apart&amp;nbsp;the form into its base components and putting it back together; I never had much luck with that. It seems like a for-each XSLT command would have to be run that replicates all the original nodes into new ones.&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;I know that I could easily show the *same* data twice on the form, but I need to leave the original data alone for record keeping. I need to show a *copy* of the original data that can then be modified.&lt;/div&gt;</description></item></channel></rss>