<?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>Eval Function between SharePoint List and InfoPath Form</title><link>https://www.infopathdev.com:443/forums/thread/66250.aspx</link><pubDate>Tue, 03 May 2011 20:16:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:66250</guid><dc:creator>mwcoplin</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/66250.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=66250</wfw:commentRss><description>&lt;p&gt;I have read all of the posts concerning the double-eval and how it works well with a repeating table that exists in an InfoPath form, but I am hoping to be able to use this function to display multiple rows of data from&amp;nbsp;a SharePoint list in a single field of an InfoPath form. This is basically what I have and what I&amp;#39;m trying to do:&lt;/p&gt;
&lt;p&gt;1) SharePoint list with individual rows (column 1 has Group Name, column 2 has the Blg-Floor) for each floor a conference group is assigned to for their stay (ie, Football Blg A - Floor1, Football Blg A - Floor2)&lt;/p&gt;
&lt;p&gt;2) InfoPath form that contains specific data about the conference group (ie, when they are arriving, group leader, etc) &lt;/p&gt;
&lt;p&gt;What I am hoping to do is use the double eval to put all of the Blg-Floor information for a specific group into one field in the InfoPath form for quick reference, but I have not been able to get it to work yet (I have a dropdown in the InfoPath form to select the specific group and have my eval rule on this field). I am getting results, and the number of results is correct, but instead of showing &lt;strong&gt;Blg A - Floor1&lt;/strong&gt;; &lt;strong&gt;Blg A - Floor2&lt;/strong&gt;, it&amp;#39;s showing &lt;strong&gt;Blg A - Floor 1&lt;/strong&gt;; &lt;strong&gt;Blg A - Floor1&lt;/strong&gt;. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This is my formula as it is right now:&lt;/p&gt;
&lt;p&gt;eval(eval(@ows_LinkTitle[. = Group], &amp;#39;concat(xdXDocument:GetDOM(&amp;quot;Locations - Attendees&amp;quot;)/xml/rs:data/z:row/@ows_Floors, &amp;quot;;&amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;)&lt;/p&gt;
&lt;p&gt;Thanks for your time!&lt;/p&gt;</description></item></channel></rss>