<?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>InfoPath 2010</title><link>https://www.infopathdev.com:443/forums/142.aspx</link><description>Are you exploring new features coming up in 2010? Share information and ask questions here!</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Accessing the last node in a Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/83146.aspx</link><pubDate>Tue, 02 Oct 2012 04:39:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83146</guid><dc:creator>LeslieAD</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83146.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=83146</wfw:commentRss><description>&lt;p&gt;solved - well a work around has been implemented&lt;/p&gt;&lt;p&gt;On the form with the Repeating Table I set up a couple of sets of extra hidden text boxes, copy the last RT row into the text boxes and promote the fields intothe sharepoint library.&lt;/p&gt;&lt;p&gt;I use two sets of additional fields so that if the last row of the RT is not comlpeted I don&amp;#39;t lose the original &amp;quot;last row&amp;quot; before the form is finally submitted.&lt;/p&gt;&lt;p&gt;I can access the library fields through a data connection, so problem......solved&lt;/p&gt;</description></item><item><title>Re: Accessing the last node in a Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/81989.aspx</link><pubDate>Sun, 26 Aug 2012 09:52:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81989</guid><dc:creator>LeslieAD</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81989.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=81989</wfw:commentRss><description>&lt;p&gt;Hi Jimmy - sorry for the slow reaponse - I have been away on leave and just back&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;quot;didn&amp;#39;t work&amp;quot; - what I was hoping to do was to copy the last completed entry in a Repeating Table from one Form into an appropriate structure (same number of columns) on a different Reporting Form&amp;nbsp;using a Secondary Connection. At present when I link the table through the Secondary Connection I get the concatenated cell contents for each column, and not the contents of the last row.&lt;/p&gt;&lt;p&gt;I have a SharePoint List with a number of employees ongoing monthly performance reviews. Each employee has the monthly data in their repeating table which&amp;nbsp;has a number of columns (Date, Status, Progress, etc.). Throughout the year the RT will grow and I want to recall on a simple Reporting Form the last reviewed activity. It should be the same month for each employee, however some managers may be late completing their update!&lt;/p&gt;&lt;p&gt;One solution is to save the last RT row in a matching set of text boxes, and copy those across the Secondary Source - which works and I can prevent an empty row of the RT from producing a null reply.&lt;/p&gt;&lt;p&gt;Another solution which could/would be more elegant is to actually extract the last row from the RT to the shortened Reporting Form.&lt;/p&gt;&lt;p&gt;&amp;nbsp;does that help???&lt;/p&gt;</description></item><item><title>Re: Accessing the last node in a Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/81605.aspx</link><pubDate>Mon, 13 Aug 2012 12:10:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81605</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81605.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=81605</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;LeslieAD:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;didn&amp;#39;t work though - hence this posting&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Could you be more specific when you say &amp;quot;didn&amp;#39;t work&amp;quot;?&lt;/p&gt;</description></item><item><title>Accessing the last node in a Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/81602.aspx</link><pubDate>Mon, 13 Aug 2012 09:59:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81602</guid><dc:creator>LeslieAD</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81602.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=81602</wfw:commentRss><description>&lt;p&gt;I am sure this has been solved numerous times, I just can&amp;#39;t find the solution I want&lt;/p&gt;&lt;p&gt;Consequently I have implemented a work around based on my web searching, which I now offer to others in the hope that someone (Hilary :-) ) will finalise what I want to do.&lt;/p&gt;&lt;p&gt;Background&lt;/p&gt;&lt;p&gt;I have a simple form with a single 3 column Repeating Table - Name, DateOfJoining and Age (as a simple example). Once a number of rows have been entered the resulting SharePoint List concatenates the fields - so Name now consists of all the Names, DateOfJoining all the entries, etc. Other items in the List also have the same structure.&lt;/p&gt;&lt;p&gt;If I want to extract the last entry (the last person to join),&amp;nbsp;I have usually exported the list to Excel, used Text-to-Column and removed the surplus data manually - NOT the ideal solution.&lt;/p&gt;&lt;p&gt;The work-around I have now used is to add a text field for each column in the Repeating Table I want to include in a report and then used a function to copy the last entry into the text field so that when the form is saved the last Repeating Table entry is available via the textbox contents.&lt;/p&gt;&lt;p&gt;The function is based on Alec Pojidaev&amp;#39;s original blog &lt;a href="http://alecpojidaev.wordpress.com/2010/01/07/accessing-previous-rows-in-repeating-group-for-browser-enabled-forms/"&gt;http://alecpojidaev.wordpress.com/2010/01/07/accessing-previous-rows-in-repeating-group-for-browser-enabled-forms/&lt;/a&gt;&lt;/p&gt;&lt;p&gt;/my:myFields/my:Details/my:Table[count(following-sibling::*[local-name() = &amp;quot;Table&amp;quot;]) = 0]/my:Name&amp;nbsp; - where Name is one of the&amp;nbsp;field names I want to copy. Change this to DateOfJoining and Age for the other text boxes&lt;/p&gt;&lt;p&gt;save the fields in the SharePoint List and I have access to the relevant data. I don;t want to use the date as the differeniator as in other tables it will not be a numeric or date data type.&lt;/p&gt;&lt;p&gt;Now the challenging bit - for me at least&lt;/p&gt;&lt;p&gt;Eventually I want to add the SharePoint List to a new form as a Secondary Source, which I have already done and can see all the relevant fields, but I cannot change the above function to extract the last entry in each field&lt;/p&gt;&lt;p&gt;the XPath for the Secondary Source is&amp;nbsp; -&amp;nbsp; &amp;nbsp;/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Name&amp;nbsp; so I guessed it was a matter of substituting the relevant myFields etc from one XPath to the other???&lt;/p&gt;&lt;p&gt;didn&amp;#39;t work though - hence this posting&lt;/p&gt;&lt;p&gt;So essentially what I would like to do with OOTB infopath 2010 is to include a Secondary Source which is a SharePoint List which includes a Repeating Table and extract only the last field of certain nodes within the Repeating Table.&lt;/p&gt;&lt;p&gt;Help&lt;/p&gt;</description></item></channel></rss>