<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Show on the form data from other list item</title><link>https://www.infopathdev.com:443/forums/thread/96829.aspx</link><pubDate>Wed, 02 Apr 2014 12:55:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:96829</guid><dc:creator>junatina</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/96829.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=96829</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Environment: InfoPath 2010, SharePoint 2010&lt;/p&gt;
&lt;p&gt;Task: I have 2 lists (Project and Project Details). On the creating new Project Detail&amp;nbsp; form I can choose the Project item in the lookup field. And I need to show on this&amp;nbsp;form some other fields&amp;#39; values from the selected Project. As I do not really want to create additional fields in my Project Details list I&amp;#39;d prefer to show this info&amp;nbsp;as Calculated values on the form.&lt;/p&gt;
&lt;p&gt;Problem:&amp;nbsp;&amp;nbsp;Everything is going well until I get in touch with lookup fields with multiple values. For such type I just can get the only one (first) value from the field and can&amp;#39;t figure it out how to get all the values.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Some more Details:&lt;/p&gt;
&lt;p&gt;My lists are:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Regions - is used for the lookup field&lt;/li&gt;

&lt;ul&gt;
&lt;li&gt;ID&lt;/li&gt;
&lt;li&gt;Title&lt;/li&gt;
&lt;/ul&gt;

&lt;li&gt;Project - the list from which I need to get info&lt;/li&gt;

&lt;ul&gt;
&lt;li&gt;ID&lt;/li&gt;
&lt;li&gt;Title&lt;/li&gt;
&lt;li&gt;Desc (text field)&lt;/li&gt;
&lt;li&gt;Region (lookup field with multiple selection set on &amp;quot;Regions&amp;quot; list)&lt;/li&gt;
&lt;/ul&gt;

&lt;li&gt;Project Details - the list for which I am creating&amp;nbsp;my form&amp;nbsp;&lt;/li&gt;

&lt;ul&gt;
&lt;li&gt;Project (lookup on &amp;quot;Project&amp;quot; list)&lt;/li&gt;
&lt;li&gt;Desc (calculated value - gets the &amp;quot;Desc&amp;quot; field&amp;#39;s value from the Project item selected in Project field) - can get it&lt;/li&gt;
&lt;li&gt;Region (calculated value - gets the &amp;quot;Region&amp;quot; field&amp;#39;s value from the Project item selected in Project field) - &lt;strong&gt;&lt;u&gt;can&amp;#39;t get it when there is several Regions in &amp;quot;Region&amp;quot; field in selected Project&lt;/u&gt;&lt;/strong&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ol&gt;&lt;p&gt;Example:&lt;/p&gt;&lt;p&gt;&lt;u&gt;Project:&lt;/u&gt;&lt;/p&gt;&lt;p&gt;ID = 1&lt;/p&gt;&lt;p&gt;Title&amp;nbsp;= Main project&lt;/p&gt;&lt;p&gt;Desc = Try it&lt;/p&gt;&lt;p&gt;Region = Russia, Europe&amp;nbsp;(1;#Russia;#2;#Europe)&lt;/p&gt;&lt;p&gt;&lt;u&gt;Detail:&lt;/u&gt;&lt;/p&gt;&lt;p&gt;Project = Main project (1;#Main Project)&lt;/p&gt;&lt;p&gt;Desc = Try it&amp;nbsp;&lt;/p&gt;&lt;p&gt;Region =&amp;nbsp;??&amp;nbsp; how to get here Russia, Europe&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Actually I have about 10 field which I need&amp;nbsp;to&amp;nbsp;get from Project&amp;nbsp;list item to show&amp;nbsp;on my form. May be there is some other&amp;nbsp;way to show this info (not like using calculated fields).&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks in advance for any ideas!&amp;nbsp;&lt;/p&gt;&lt;ol&gt;&lt;ul&gt;
&lt;/ul&gt;
&lt;/ol&gt;</description></item></channel></rss>