<?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>SharePoint Integration</title><link>https://www.infopathdev.com:443/forums/46.aspx</link><description> For questions concerning issues in the integration of SharePoint and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Display unique values in InfoPath repeating table bound to SharePoint list</title><link>https://www.infopathdev.com:443/forums/thread/106849.aspx</link><pubDate>Tue, 31 May 2016 14:28:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:106849</guid><dc:creator>Jayne</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/106849.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=106849</wfw:commentRss><description>&lt;p&gt;Hi Hilary, &lt;/p&gt;&lt;p&gt;That&amp;#39;s perfect.&amp;nbsp; Thank you so much for your help, I think my form now does everything I want it to do!&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Jayne&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Display unique values in InfoPath repeating table bound to SharePoint list</title><link>https://www.infopathdev.com:443/forums/thread/106795.aspx</link><pubDate>Thu, 26 May 2016 15:10:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:106795</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/106795.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=106795</wfw:commentRss><description>Yes, I&amp;#39;d think so, probably need to use a double eval to concat the students together. I&amp;#39;ve given this a shot in the attached copy of your form....</description></item><item><title>Re: Display unique values in InfoPath repeating table bound to SharePoint list</title><link>https://www.infopathdev.com:443/forums/thread/106792.aspx</link><pubDate>Thu, 26 May 2016 14:39:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:106792</guid><dc:creator>Jayne</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/106792.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=106792</wfw:commentRss><description>&lt;p&gt;One more question on this matter.&amp;nbsp; Is it possible to display each of the student names under or alongside the relevant part number?&amp;nbsp;&amp;nbsp;For example&lt;/p&gt;&lt;p&gt;Part: 123456&amp;nbsp;&amp;nbsp;Count: 2&amp;nbsp; Students: Fred, Bob&lt;/p&gt;&lt;p&gt;Part: 234567&amp;nbsp; Count: 1&amp;nbsp; Student: Sally&lt;/p&gt;&lt;p&gt;Thanks again!&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Display unique values in InfoPath repeating table bound to SharePoint list</title><link>https://www.infopathdev.com:443/forums/thread/106789.aspx</link><pubDate>Thu, 26 May 2016 11:56:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:106789</guid><dc:creator>Jayne</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/106789.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=106789</wfw:commentRss><description>&lt;p&gt;Hilary, thank you so much!! This is exactly what I&amp;#39;m trying to achieve!&amp;nbsp; &lt;/p&gt;&lt;p&gt;Funnily enough the xpath you&amp;#39;ve used is exactly what I was trying to do yesterday so I don&amp;#39;t get why it wouldn&amp;#39;t work for me!&amp;nbsp; I have managed to replicate what you have done so I think I might finally be there.&lt;/p&gt;&lt;p&gt;Thank you so, so much for taking the time to help.&amp;nbsp; I have been pulling my hair out over this for months&amp;nbsp;and I think it&amp;#39;s now solved.&amp;nbsp; You are an absolute star!!&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Display unique values in InfoPath repeating table bound to SharePoint list</title><link>https://www.infopathdev.com:443/forums/thread/106781.aspx</link><pubDate>Wed, 25 May 2016 15:56:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:106781</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/106781.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=106781</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I&amp;#39;ve attached your form w/ some changes that I think do what you want. I put a second instance of the repeating table from the secondary data source on the form and added a formatting rule and a calculated value w/ the count formula. I also added a form load rule to run the query for that secondary data source again if this is a saved form being reopened.&lt;/p&gt;</description></item><item><title>Re: Display unique values in InfoPath repeating table bound to SharePoint list</title><link>https://www.infopathdev.com:443/forums/thread/106780.aspx</link><pubDate>Wed, 25 May 2016 15:19:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:106780</guid><dc:creator>Jayne</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/106780.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=106780</wfw:commentRss><description>&lt;p&gt;I only need to display the data, we won&amp;#39;t be changing or adding to the data from this form.  Binding the table to the secondary data source was the only way I&amp;#39;d found of bringing in more than one list item. If I use rules to set field values it only seems to bring in the first entry.  &lt;/p&gt;</description></item><item><title>Re: Display unique values in InfoPath repeating table bound to SharePoint list</title><link>https://www.infopathdev.com:443/forums/thread/106777.aspx</link><pubDate>Wed, 25 May 2016 15:06:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:106777</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/106777.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=106777</wfw:commentRss><description>Oh - were you hoping to copy the data from the SharePoint list into the main data source? I ask because I see your second repeating table is bound to the main data source... InfoPath won&amp;#39;t do that out of the box. Is it okay to just display data from the secondary data source instead?</description></item><item><title>Re: Display unique values in InfoPath repeating table bound to SharePoint list</title><link>https://www.infopathdev.com:443/forums/thread/106776.aspx</link><pubDate>Wed, 25 May 2016 09:14:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:106776</guid><dc:creator>Jayne</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/106776.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=106776</wfw:commentRss><description>&lt;p&gt;Hi Hilary, &lt;/p&gt;&lt;p&gt;Thanks for your quick reply.&amp;nbsp; I have looked at your file and tried to recreate it using my data.&amp;nbsp; I&amp;nbsp;am having some trouble though, I have attached my form.&lt;/p&gt;&lt;p&gt;The top bit does what I expect it to do.&amp;nbsp; I fill in my reference click the button and it retrieves the necessary information form the SP list into the repeating table. (3 lines, two different part numbers).&amp;nbsp;&lt;/p&gt;&lt;p&gt;The second table I have inserted is where I am trying to replicate what is on your form.&amp;nbsp; The first field is picking up the first part number, but it doesn&amp;#39;t pick up any others which are different.&amp;nbsp; I have tried to get the count field working but keep getting the error, &amp;#39;does not point to a valid location path of a field or group&amp;#39;.&amp;nbsp; The XPath below is what&amp;nbsp;I am trying to use.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;p&gt;&lt;font face="Calibri" size="3"&gt;Count(/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW[d:pART_x0020_NUMBER
= current()/d:pART_x0020_NUMBER])&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

The form isn&amp;#39;t the SP list form but a separate form that is just using the data from the SP list.&amp;nbsp; Initially it will be emailed to people for approval but the ultimate goal is to attach it to an approval workflow.&amp;nbsp; &lt;/font&gt;&lt;/p&gt;&lt;p&gt;Thanks, &lt;/p&gt;&lt;p&gt;Jayne &amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Display unique values in InfoPath repeating table bound to SharePoint list</title><link>https://www.infopathdev.com:443/forums/thread/106770.aspx</link><pubDate>Wed, 25 May 2016 00:46:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:106770</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/106770.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=106770</wfw:commentRss><description>Here&amp;#39;s a sample that isn&amp;#39;t a SharePoint list form, but hopefully the formulas used will help you. You can attach your form in a reply under the Options tab if you need assistance implementing this. :)  Save the sample locally, right click and select design to open, then you can preview &amp;amp; try it out.</description></item><item><title>Display unique values in InfoPath repeating table bound to SharePoint list</title><link>https://www.infopathdev.com:443/forums/thread/106761.aspx</link><pubDate>Tue, 24 May 2016 14:09:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:106761</guid><dc:creator>Jayne</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/106761.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=106761</wfw:commentRss><description>&lt;p&gt;Hi, &amp;nbsp;&lt;/p&gt;&lt;p&gt;I have a SharePoint 2013 list that houses our training enquiries.&amp;nbsp; Each item in the list is an individual student.&amp;nbsp; Amongst other columns, there is a part number constructed from the student&amp;#39;s region and department.&amp;nbsp; There can be up to 6 students on each class, these are linked by a unique reference number.&amp;nbsp; &lt;/p&gt;&lt;p&gt;I am trying to create an InfoPath 2010&amp;nbsp;form&amp;nbsp;to use as a&amp;nbsp;Purchase Requisition.&amp;nbsp;&amp;nbsp;I&amp;nbsp;have a field where the reference number is typed in, then a button which is clicked.&amp;nbsp; Rules on the button set a query field and then query the data source.&amp;nbsp; This populates a repeating table that is bound to the SharePoint list with one line for each student.&amp;nbsp; &lt;/p&gt;&lt;p&gt;My problem is that all 6 of these students might have the same part number.&amp;nbsp; In that case I would want only 1 line in my table with a quantity of 6.&amp;nbsp; Or there might be 3 with one part number and 3 with another part number.&amp;nbsp; In which case&amp;nbsp;I want to see 2 lines, each with a quantity of 3.&amp;nbsp; &lt;/p&gt;&lt;p&gt;Using&amp;nbsp;&amp;#39;preceding&amp;#39; to filter the data I can get it to show the first item and count for that item but I cannot get it to show the remaining items - the repeating table only has one line.&amp;nbsp;&lt;/p&gt;&lt;p&gt;XPath is as follows:&lt;/p&gt;&lt;p&gt;To get part number:&amp;nbsp;&lt;strong&gt;= pART_x0020_NUMBER[not(. = preceding::SharePointListItem_RW/pART_x0020_NUMBER)]&lt;/strong&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;To get count: &lt;strong&gt;count(pART_x0020_NUMBER[not(. = preceding::SharePointListItem_RW/pART_x0020_NUMBER)])&lt;/strong&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have searched and searched for an answer but nothing seems to work.&amp;nbsp;&amp;nbsp;I don&amp;#39;t understand what the preceding function is doing so I don&amp;#39;t know if it is really the right thing, but it seemed to feature in a lot of the posts I found.&amp;nbsp; &lt;/p&gt;&lt;p&gt;I am not allowed to use code and have very little IS support when it comes to InfoPath.&amp;nbsp;&amp;nbsp;Any help would be gratefully received, I am starting to think this is too complex a&amp;nbsp;requirement for InfoPath.&amp;nbsp; &lt;/p&gt;&lt;p&gt;Thanks in advance, &lt;/p&gt;&lt;p&gt;Jayne&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>