<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Repeating Table Overwriting</title><link>https://www.infopathdev.com:443/forums/thread/79699.aspx</link><pubDate>Wed, 20 Jun 2012 17:17:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79699</guid><dc:creator>shep123</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79699.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=79699</wfw:commentRss><description>&lt;p&gt;Thanks Jimmy! I just figured it out. I created&amp;nbsp;hidden text boxes that would hold the value of the selection when the add button was clicked. Then made the repeating table = to those values. This may be not be the best or most efficient way but it work.&lt;/p&gt;</description></item><item><title>Re: Repeating Table Overwriting</title><link>https://www.infopathdev.com:443/forums/thread/79698.aspx</link><pubDate>Wed, 20 Jun 2012 17:08:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79698</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79698.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=79698</wfw:commentRss><description>If you place the rule on the repeating group itself, then the rule will fire on that row, and only that row, when the row is added.&amp;nbsp; Any fields you reference with Set Value actions will be the ones inside that same row.</description></item><item><title>Re: Repeating Table Overwriting</title><link>https://www.infopathdev.com:443/forums/thread/79696.aspx</link><pubDate>Wed, 20 Jun 2012 16:48:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79696</guid><dc:creator>shep123</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79696.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=79696</wfw:commentRss><description>&lt;p&gt;If code is a better option I have no idea what code to use. I found this code online and got it to work that way. Don&amp;#39;t really know where to start (I&amp;#39;m limited in VBS, VBA would be different story and I know they are similar).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Sub addProductButton_OnClick(eventObj) &amp;#39;&amp;nbsp;&lt;br /&gt;XDocument.View.ExecuteAction &amp;quot;xCollection::insert&amp;quot;, &amp;quot;group5_2&amp;quot; &lt;br /&gt;End Sub&lt;/p&gt;</description></item><item><title>Re: Repeating Table Overwriting</title><link>https://www.infopathdev.com:443/forums/thread/79693.aspx</link><pubDate>Wed, 20 Jun 2012 16:24:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79693</guid><dc:creator>shep123</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79693.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=79693</wfw:commentRss><description>&lt;p&gt;I think Jimmy&amp;#39;s way will be easier. My only question is how exacly to do that. I just don&amp;#39;t know how to tell it that the field&amp;#39;s value I want to change is the blank row.&lt;/p&gt;</description></item><item><title>Re: Repeating Table Overwriting</title><link>https://www.infopathdev.com:443/forums/thread/79688.aspx</link><pubDate>Wed, 20 Jun 2012 16:04:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79688</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79688.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=79688</wfw:commentRss><description>Another option would be to place the rules on the repeating group itself.&amp;nbsp; These will get triggered when the row is added, and you can use these to copy the selected values into just the new row.</description></item><item><title>Re: Repeating Table Overwriting</title><link>https://www.infopathdev.com:443/forums/thread/79687.aspx</link><pubDate>Wed, 20 Jun 2012 15:58:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79687</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79687.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=79687</wfw:commentRss><description>&lt;p&gt;Hi - if you are adding a row to the repeating table when you make a selection, you must have some code in the form, right?&lt;/p&gt;
&lt;p&gt;At any rate, the rule is probably on a field outside of the repeating group, and InfoPath will always set all instances of a repeating field in that case. You can manually modify the manifest file to work around this (blog post &lt;a href="http://www.infopathdev.com/blogs/hilary/archive/2009/06/07/hack-manifest-xsf-to-filter-the-target-of-a-rule.aspx"&gt;here&lt;/a&gt;), or since you are already using code to add the new item, perhaps just use code to update the additional item?&lt;/p&gt;</description></item><item><title>Repeating Table Overwriting</title><link>https://www.infopathdev.com:443/forums/thread/79679.aspx</link><pubDate>Wed, 20 Jun 2012 12:54:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79679</guid><dc:creator>shep123</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79679.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=79679</wfw:commentRss><description>&lt;p&gt;I have a repeating table that is dependent on a set of 3 cascading listboxes. I also have an add button that takes the information from the listboxes, adds them to the repeating table, and then inserts a blank row below. The issue I run into is when I pick a new item, in this case a product, and click the add button it does everything right except it overwrites the old data with the new data. Here is an example:&lt;/p&gt;
&lt;p&gt;I select&amp;nbsp;Staples/OfficeSupplies/Paperclips. That fills row 1 and inserts row 2. Now let&amp;#39;s say I pick another product Staples/Printer/PrinterXXXXXX. Ideally my repeating table would be Staples/OfficeSupplies/Paperclips (row 1), Staples/Printer/PrinterXXXXXX (row 2), and blank row (row 3). Instead I get Staples/Printer/PrinterXXXXXX (row 1), Staples/Printer/PrinterXXXXXX (row 2), and blank row (row 3).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Does anyone have any idea how to fix this? If it helps I am using InfoPath 2003 and using rules to populate the repeating table.&lt;/p&gt;</description></item></channel></rss>