<?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>Re: How to query a secondary datasource - database</title><link>https://www.infopathdev.com:443/forums/thread/85932.aspx</link><pubDate>Thu, 10 Jan 2013 13:21:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85932</guid><dc:creator>stormseeker75</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85932.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=85932</wfw:commentRss><description>&lt;p&gt;If anyone finds this in search of an answer, I figured it out.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;I had to create a repeating section and populate it with data boxes.&amp;nbsp; That repeating section needed to be conditioned to hide if the criteria didn&amp;#39;t match.&lt;/p&gt;</description></item><item><title>Re: How to query a secondary datasource - database</title><link>https://www.infopathdev.com:443/forums/thread/85511.aspx</link><pubDate>Wed, 19 Dec 2012 22:25:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85511</guid><dc:creator>stormseeker75</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85511.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=85511</wfw:commentRss><description>&lt;p&gt;No worries, thanks for your help.&amp;nbsp; You&amp;#39;re right, I&amp;#39;ve got a couple boxes setup to return the data from the secondary source and it&amp;#39;s not filtered.&amp;nbsp; I&amp;#39;ve read a bunch of instructions, some written by you, and I can&amp;#39;t seem to apply it to my situation.&amp;nbsp; In this case, I&amp;#39;ve got a column called MPS ID in both connections.&amp;nbsp; I want to return data from the secondary connection where these fields match.&amp;nbsp; I realize I have to set a filter to get the secondary data to display what I want.&amp;nbsp; Where do I put this filter?&amp;nbsp; That&amp;#39;s the part that I&amp;#39;m not understanding completely (or at all).&lt;/p&gt;</description></item><item><title>Re: How to query a secondary datasource - database</title><link>https://www.infopathdev.com:443/forums/thread/85504.aspx</link><pubDate>Wed, 19 Dec 2012 20:54:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85504</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85504.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=85504</wfw:commentRss><description>&lt;p&gt;Hi - you can add a query connection to a SQL table. But InfoPath doesn&amp;#39;t have any built in support to pass in form values to indicate what data you want from the table. When you say SQL is returning only the first row in the DB - what is the behavior you are seeing? I have a feeling that you might be using a formula to return data from your secondary data connection that doesn&amp;#39;t include a filter, thus you are always seeing the first value. I sometimes just open up the data source task pane (fields pane in IP 2010) and drag the data fields onto my form and preview, so I can see what data is being returned - you may want to do that. A web search for filter InfoPath secondary data source should turn up some helpful tutorials as well.&lt;/p&gt;&lt;p&gt;EDIT - wow - I&amp;#39;m sort of incoherent today. What I am trying to say is that I think you probably set up your data connection to return all rows from the table - that is all IP offers out of the box for a SQL / Access DB. And then you&amp;#39;ll need to add a filter when you select a value from that secondary data source to&amp;nbsp;make sure you get data from the right row - for example, that commonkey in&amp;nbsp;the main data source&amp;nbsp;= commonkey in the secondary data source.&lt;/p&gt;</description></item><item><title>How to query a secondary datasource - database</title><link>https://www.infopathdev.com:443/forums/thread/85490.aspx</link><pubDate>Wed, 19 Dec 2012 17:45:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85490</guid><dc:creator>stormseeker75</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85490.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=85490</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ve got&amp;nbsp;2 tables in my primary which I need to use a submit to db function for.&amp;nbsp; I have data in another table that I want to be able to query as a secondary connection because nothing needs to be submitted.&amp;nbsp; THere is a common column between these 2 items so the secondary datasource should be able to be queried.&amp;nbsp; I can get the secondary connection to query, but it&amp;#39;s only giving me the first row in the DB and it&amp;#39;s not querying based on the common key.&amp;nbsp; Can someone tell me how to set this so it will work?&lt;/p&gt;</description></item></channel></rss>