<?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>Re: Selecting correct field from SharePoint</title><link>https://www.infopathdev.com:443/forums/thread/95061.aspx</link><pubDate>Wed, 08 Jan 2014 02:25:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:95061</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/95061.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=95061</wfw:commentRss><description>&lt;p&gt;So, what is your rule? In the Value section, when you click fx and open the formula editor, there is a checkbox that says Edit XPath - can you paste the XPath in a reply? I&amp;#39;m guessing you haven&amp;#39;t added a filter to the rule. So, when you select the field from the secondary data source, there is a Filter Data button and you can add a filter, like &amp;quot;Title from SharePoint List is equal to Company Name in my main data source&amp;quot; to indicate which row you want.&lt;/p&gt;</description></item><item><title>Selecting correct field from SharePoint</title><link>https://www.infopathdev.com:443/forums/thread/95044.aspx</link><pubDate>Tue, 07 Jan 2014 14:29:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:95044</guid><dc:creator>mr_m_cox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/95044.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=95044</wfw:commentRss><description>&lt;p&gt;Hi All,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I am putting a form together which has a data connection to&amp;nbsp;our SharePoint Online contacts list.&lt;/p&gt;&lt;p&gt;&amp;nbsp;We have it set up so that in SharePoint it lists&amp;nbsp; - full name, email, phone, company.&lt;/p&gt;&lt;p&gt;I&amp;nbsp;have set up a rule on my &amp;quot;Client_Company_Name&amp;quot; InfoPath&amp;nbsp;field which says that if the content of this box (company name)&amp;nbsp;is&amp;nbsp;equal to one in the sharepoint list then populate the name and email fields with the correct entry from SharePoint.&amp;nbsp;&lt;/p&gt;&lt;p&gt;So...if...&lt;/p&gt;&lt;p&gt;person A works for company 1 I should be able to pick company 1 from&amp;nbsp; the InfoPath drop down menu and info path populates name and email address fields with person A details.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;However, &lt;/p&gt;&lt;p&gt;&amp;nbsp;It is just populating the name and&amp;nbsp;email with the first entry on the SharePoint list, not the one that has the same&amp;nbsp;company name&amp;nbsp; so company 2 would always display person&amp;nbsp;A details, not person B as I need.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Hope that&amp;nbsp;makes sense. Any help much appreciated.&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>