<?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: Repeating Table copy previous record</title><link>https://www.infopathdev.com:443/forums/thread/107760.aspx</link><pubDate>Tue, 23 Aug 2016 21:54:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107760</guid><dc:creator>TracyK</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107760.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=107760</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I&amp;#39;m stuck trying to copy previous row with rule on button click.&amp;nbsp; I can copy 1 row of data but I can&amp;#39;t copy row 2 to row 3 I can only get row 1 data.&amp;nbsp; I&amp;#39;m trying to use preceding-sibling:: but it keeps telling my formula is wrong.&amp;nbsp; &lt;/p&gt;&lt;p&gt;InfoPath field XPath copy = /my:myFields/my:JV/my:JVDetails/my:SDN&amp;nbsp;&lt;/p&gt;&lt;p&gt;Syntax&amp;nbsp;I&amp;#39;m try to use but failed :-(&amp;nbsp;&lt;/p&gt;&lt;p&gt;preceding-sibling::/my:myFields/my:JV/my:JVDetails/my:SDN&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Please help...&lt;/p&gt;</description></item><item><title>Re: Repeating Table copy previous record</title><link>https://www.infopathdev.com:443/forums/thread/80893.aspx</link><pubDate>Mon, 23 Jul 2012 17:07:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80893</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80893.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=80893</wfw:commentRss><description>&lt;p&gt;Wonderful, thanks for letting me know everything is working the way you need it to.&lt;/p&gt;</description></item><item><title>Re: Repeating Table copy previous record</title><link>https://www.infopathdev.com:443/forums/thread/80892.aspx</link><pubDate>Mon, 23 Jul 2012 16:56:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80892</guid><dc:creator>BobCald</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80892.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=80892</wfw:commentRss><description>&lt;p&gt;Hilary , thanks so very much for all the help, my IP form is working properly.&amp;nbsp; I can&amp;#39;t express enough how valuable your assistance was to me and I learned a few things.&lt;/p&gt;</description></item><item><title>Re: Repeating Table copy previous record</title><link>https://www.infopathdev.com:443/forums/thread/80824.aspx</link><pubDate>Fri, 20 Jul 2012 18:20:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80824</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80824.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=80824</wfw:commentRss><description>&lt;p&gt;It was the XPath you&amp;#39;d used - it was absolute instead of relative:&lt;/p&gt;
&lt;p&gt;/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW[1]/my:Project&lt;/p&gt;
&lt;p&gt;The above will always get the first item. From the field you were on (Project)&lt;/p&gt;
&lt;p&gt;../preceding-sibling::my:SharePointListItem_RW[1]/my:Project&lt;/p&gt;
&lt;p&gt;will get you the one above.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve attached your form with this change.&lt;/p&gt;</description></item><item><title>Re: Repeating Table copy previous record</title><link>https://www.infopathdev.com:443/forums/thread/80785.aspx</link><pubDate>Thu, 19 Jul 2012 18:14:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80785</guid><dc:creator>BobCald</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80785.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=80785</wfw:commentRss><description>In advance thank you.&amp;nbsp;&amp;nbsp;1st row Ok, 2nd row Ok, 3rd row I update Project and Project Size (these are Drop-down List Box controls), I complete the data entry and then perform the Insert.&amp;nbsp; The results are that on the 4th row the Project and Project Size do not carry-over the updated values (BCC... &amp;amp; Large...) from the 3rd row, it&amp;nbsp;seems to pull the values from the first row for Project and Project Size.&amp;nbsp;</description></item><item><title>Re: Repeating Table copy previous record</title><link>https://www.infopathdev.com:443/forums/thread/80784.aspx</link><pubDate>Thu, 19 Jul 2012 17:48:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80784</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80784.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=80784</wfw:commentRss><description>&lt;p&gt;Can you also post a screenshot showing what you are describing? I&amp;#39;m having a little trouble following your description. Just attach a picture file under the options tab.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;</description></item><item><title>Re: Repeating Table copy previous record</title><link>https://www.infopathdev.com:443/forums/thread/80783.aspx</link><pubDate>Thu, 19 Jul 2012 17:39:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80783</guid><dc:creator>BobCald</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80783.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=80783</wfw:commentRss><description>Good Day, I ran into an issue when trying to apply the preceding-sibling on Drop-Down List Box Control.&amp;nbsp; The syntax with [1] does populate the new row with the data from&amp;nbsp;the previous row.&amp;nbsp; What happens when going beyond two rows on this type of control is that it refers to the first row value on the active form.&amp;nbsp; When trying this on a Text Box field I am able to update the copied value let&amp;#39;s say on the 3rd row to something else and upon the insert it carries over to the next row without issue.&amp;nbsp; When trying this technique with a Drop-Down List box it always copies the value from the first row.&amp;nbsp; Can you please advise whether the repeating table value cannot be performed on a Drop-down List box fields.&amp;nbsp; I have also attached&amp;nbsp;my Template.xsn, Thanks Bob</description></item><item><title>Re: Repeating Table copy previous record</title><link>https://www.infopathdev.com:443/forums/thread/80762.aspx</link><pubDate>Thu, 19 Jul 2012 00:15:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80762</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80762.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=80762</wfw:commentRss><description>&lt;p&gt;Hey, fantastic, glad it is working for you - here&amp;#39;s a little blog &lt;a href="http://www.infopathdev.com/blogs/greg/archive/2005/06/13/Using-XPath_2700_s-_2700_preceding_2D00_sibling_2700_-Axis-Correctly.aspx"&gt;post&lt;/a&gt; that may help with the syntax. &lt;/p&gt;</description></item><item><title>Re: Repeating Table copy previous record</title><link>https://www.infopathdev.com:443/forums/thread/80761.aspx</link><pubDate>Thu, 19 Jul 2012 00:09:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80761</guid><dc:creator>BobCald</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80761.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=80761</wfw:commentRss><description>&lt;p&gt;I cannot express how much I appreciate your help and expertise.&amp;nbsp; The functionality that I was seeking is working is my Test SP site/list.&amp;nbsp; I will expand to the&amp;nbsp;other fields where I need this functionality.&amp;nbsp; I will let you know tomorrow how it goes.&lt;/p&gt;</description></item><item><title>Re: Repeating Table copy previous record</title><link>https://www.infopathdev.com:443/forums/thread/80760.aspx</link><pubDate>Thu, 19 Jul 2012 00:02:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80760</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80760.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=80760</wfw:commentRss><description>&lt;p&gt;I think it would be:&lt;/p&gt;
&lt;p&gt;../preceding-sibling::my:SharePointListItem_RW[1]/my:Description&lt;/p&gt;</description></item><item><title>Re: Repeating Table copy previous record</title><link>https://www.infopathdev.com:443/forums/thread/80758.aspx</link><pubDate>Wed, 18 Jul 2012 23:51:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80758</guid><dc:creator>BobCald</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80758.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=80758</wfw:commentRss><description>Thank You, it is working and carrying over data.&amp;nbsp; Unfortunately, I left a requirement out of my description.&amp;nbsp; Besides carrying over the data when a new row is added, I need it to carry over the data from the last row.&amp;nbsp; I also need the data carried over to be able to be updated as maybe some fields are Ok to be carried over but it is possible that a field or two may need to be updated.&amp;nbsp; So in this instance when a a field or two is updated this updated data carries over to the next new row to be inserted. I did try [Last()] as I thought I saw it in a previous post, couldn&amp;#39;t get it to work.&amp;nbsp; Do you think it is possible for the preceding-sibling to grab the last row?&amp;nbsp; Thanks</description></item><item><title>Re: Repeating Table copy previous record</title><link>https://www.infopathdev.com:443/forums/thread/80754.aspx</link><pubDate>Wed, 18 Jul 2012 23:16:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80754</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80754.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=80754</wfw:commentRss><description>&lt;p&gt;I think this will do what you want:&lt;/p&gt;
&lt;p&gt;../preceding-sibling::my:SharePointListItem_RW/my:Description&lt;/p&gt;
&lt;p&gt;Save the form linked in this reply locally, right click the file and select Design to open in design mode.&lt;/p&gt;</description></item><item><title>Re: Repeating Table copy previous record</title><link>https://www.infopathdev.com:443/forums/thread/80753.aspx</link><pubDate>Wed, 18 Jul 2012 23:08:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80753</guid><dc:creator>BobCald</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80753.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=80753</wfw:commentRss><description>&lt;p&gt;In advance, I really appreciate your assistance.&amp;nbsp; Brief summary of what I have and trying to do.&amp;nbsp; List using a InfoPath form with Repeating Table to track staff time entries.&amp;nbsp; My form has a mixture of Lookup/Choice,&amp;nbsp;Choice, Single line of Text and Multi lines of Text fields.&amp;nbsp; I used this fields to capture my staff&amp;#39;s time entries which write to a list.&amp;nbsp; The Repeating Table has made it much easier for staff to enter time data.&amp;nbsp; A requested enhancement&amp;nbsp;is to when data entry for a new row (last) is complete and that upon the Insert function it&amp;nbsp;inserts a new row but it also carries over the data entered of identified fields using&amp;nbsp;preceding-sibling.&amp;nbsp; This is what my schema looks like.&amp;nbsp; I am trying to test preceding-sibling using the Description field.&lt;/p&gt;</description></item><item><title>Re: Repeating Table copy previous record</title><link>https://www.infopathdev.com:443/forums/thread/80746.aspx</link><pubDate>Wed, 18 Jul 2012 21:47:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80746</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80746.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=80746</wfw:commentRss><description>&lt;p&gt;So, you are using that in your default values? And when you enter a new row, it gets the value of the row before? I&amp;#39;m sorry, I don&amp;#39;t quite understand - if you could give a bit more detail / attach your temlate to the Options tab, that would help.&lt;/p&gt;</description></item><item><title>Re: Repeating Table copy previous record</title><link>https://www.infopathdev.com:443/forums/thread/80745.aspx</link><pubDate>Wed, 18 Jul 2012 21:00:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80745</guid><dc:creator>BobCald</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80745.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=80745</wfw:commentRss><description>&lt;p&gt;Hi Hilary, my name is Bob and I am trying to a little beyond using SP straight out-of-the-box; I am not a developer only a hacker per-se.&amp;nbsp; I am using SP/IP 2010 and have been trying to use your example with my setup.&amp;nbsp; What is happening is that when I try to enter data into my test field it wipes out the data?&amp;nbsp; For the Text Box Prop here is what I am using:&lt;/p&gt;&lt;p&gt;&amp;nbsp;../preceding-sibling::my:SharePointListItem_RW/my:Description&lt;/p&gt;</description></item></channel></rss>