<?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>Data Connections</title><link>https://www.infopathdev.com:443/forums/44.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Retrieving value from secondary data connection into text box</title><link>https://www.infopathdev.com:443/forums/thread/102898.aspx</link><pubDate>Tue, 23 Jun 2015 02:13:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:102898</guid><dc:creator>KarlL</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/102898.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=102898</wfw:commentRss><description>&lt;p&gt;Hi All,&lt;/p&gt;&lt;p&gt;I am&amp;nbsp;new to InfoPath 2010&amp;nbsp;and SharePoint 2010&amp;nbsp;have been trying to get this to work for &amp;nbsp;a day and a half now and nothing that I can find online has worked for me.&lt;/p&gt;&lt;p&gt;I have a form,&amp;nbsp;ChangeRecord&amp;nbsp;that gets passed a serviceTicketID via a URL query string filter to a text box (working fine).&lt;/p&gt;&lt;p&gt;This form has a data connection to receive data from a sharepoint list, ServiceTickets&amp;nbsp; (~10,000 items)&amp;nbsp;with the fields Title and ID selected. Store a copy of data in the form template is unchecked&amp;nbsp;and automatically retrieve data when form is opened is unchecked (if this is checked,&amp;nbsp;when it runs it throws a &amp;#39;The amount of data that was returned by a data connection has exceeded the 
maximum limit that was configured by the server administrator.&amp;#39; error)&lt;/p&gt;&lt;p&gt;I am trying to use the serviceTicketID to search the sharepoint list ID field&amp;nbsp;and&amp;nbsp;set a&amp;nbsp;Title field (text box)&amp;nbsp;on the ChangeRecord form to the corresponding Title of the ServiceTicket.&lt;/p&gt;&lt;p&gt;I am trying to do this with an action rule&amp;nbsp;when&amp;nbsp;serviceTicketID &amp;#39;is not blank&amp;#39;, running a &amp;#39;set field value&amp;#39; action&amp;nbsp;to&amp;nbsp;set the Title field. This is working as&amp;nbsp;I can set an arbitrary value to the text box but cant get my filters to return anything.&lt;/p&gt;&lt;p&gt;I have tried the following that I have found on&amp;nbsp;multiple forums&amp;nbsp;and none seem to work:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Setting the field to Title,&amp;nbsp;setting the value to ServiceTickets&amp;gt;myFields&amp;gt;dataFields&amp;gt;d:SharepointListItem_RW&amp;gt;Title flitted on serviceTicketID = ID&lt;/li&gt;&lt;li&gt;Setting the field to Title,&amp;nbsp;setting the value to Eval(Eval(ServiceTickets&amp;gt;myFields&amp;gt;dataFields&amp;gt;d:SharepointListItem_RW flitted on serviceTicketID = ID, &amp;#39;concat(d:Title, &amp;quot;;&amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;)&lt;/li&gt;&lt;li&gt;Setting the field to ServiceTickets&amp;gt;myFields&amp;gt;dataFields&amp;gt;d:SharepointListItem_RW&amp;gt;ID, setting the value to serviceTicketID, then Query ServiceTickets data connection, then Setting the field to Title, setting the value to ,ServiceTickets&amp;gt;myFields&amp;gt;dataFields&amp;gt;d:SharepointListItem_RW&amp;gt;Title&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;I assume I am messing up my query&amp;nbsp;but cant seem to find anything different to what I have already tried.&lt;br /&gt;Any help would be greatly&amp;nbsp;appreciated.&lt;/p&gt;&lt;p&gt;Cheers,&lt;/p&gt;&lt;p&gt;Karl&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>