<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Q: Related lists</title><link>https://www.infopathdev.com:443/forums/thread/65065.aspx</link><pubDate>Thu, 10 Mar 2011 18:19:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65065</guid><dc:creator>mikeyfev1</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65065.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=65065</wfw:commentRss><description>&lt;p&gt;I need some guidance with using related lists with SharePoint/InfoPath 2010.&lt;/p&gt;
&lt;p&gt;I have a list (&lt;em&gt;client&lt;/em&gt;) which contains a &lt;strong&gt;visit&lt;/strong&gt; field and another list (&lt;em&gt;actions&lt;/em&gt;) which contains a varying number of rows which also contain the &lt;strong&gt;visit&lt;/strong&gt; value.&amp;nbsp; I want to create an InfoPath form which allows me to specify a client using a drop-down and then using the &lt;strong&gt;visit&lt;/strong&gt; value from the &lt;em&gt;client&lt;/em&gt; row display all of the &lt;em&gt;actions&lt;/em&gt; rows that are associated with that &lt;strong&gt;visit&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;I have created a form which does this, but the only way that I have found to be able to set the value of the query for the &lt;em&gt;actions&lt;/em&gt; rows is to set the value of the drop-down list control to the &lt;strong&gt;visit&lt;/strong&gt; value.&amp;nbsp; I am doing exactly what is illustrated in the book &lt;u&gt;InfoPath with SharePoint 2010 HOW-TO&lt;/u&gt; by Steven Mann.&lt;/p&gt;
&lt;p&gt;If I try to use anything other than the value of the drop-down control to set the query value for the&amp;nbsp;&lt;em&gt;actions&lt;/em&gt; list&amp;nbsp;I do not get the correct value.&amp;nbsp; It seems to be that I should be able to set the query value of the &lt;em&gt;actions&lt;/em&gt; list from the &lt;strong&gt;visit&lt;/strong&gt; value of the &lt;em&gt;client&lt;/em&gt; list, but this does not work.&lt;/p&gt;
&lt;p&gt;Yes, I know that I have a functioning solution, but I can already forsee us needing to display data from another list which is not related by the &lt;strong&gt;visit&lt;/strong&gt; column.&amp;nbsp; Since I am only able to select related data based on the value of a control, and since I can only set the value of the control to a single value, I can see that this solution will not work for me.&amp;nbsp; Also, I just want to know; why can I not use the &lt;strong&gt;visit&lt;/strong&gt; value from the &lt;em&gt;client&lt;/em&gt; list?&amp;nbsp; TIA.&lt;/p&gt;</description></item></channel></rss>