<?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 do i query a secondary SQL data connection.</title><link>https://www.infopathdev.com:443/forums/thread/85381.aspx</link><pubDate>Mon, 17 Dec 2012 20:57:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85381</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85381.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=85381</wfw:commentRss><description>InfoPath doesn&amp;#39;t support this out of the box. You can write custom code for this or use a third party tool (like &lt;a href="http://www.qdabra.com/en/products/DBXL.aspx"&gt;DBXL&lt;/a&gt; web services or &lt;a href="http://www.qdabra.com/en/products/qRules_new.aspx"&gt;qRules&lt;/a&gt;).</description></item><item><title>Re: How do i query a secondary SQL data connection.</title><link>https://www.infopathdev.com:443/forums/thread/85379.aspx</link><pubDate>Mon, 17 Dec 2012 20:49:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85379</guid><dc:creator>carpenb</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85379.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=85379</wfw:commentRss><description>Yes that is exactly what I&amp;#39;m talking about I can connect to my database and table but I want to send a parameter and get one record out without the form loading all the records I&amp;#39;ll put a post out see if anyone can help.</description></item><item><title>Re: How do i query a secondary SQL data connection.</title><link>https://www.infopathdev.com:443/forums/thread/85378.aspx</link><pubDate>Mon, 17 Dec 2012 20:45:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85378</guid><dc:creator>smonczka</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85378.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=85378</wfw:commentRss><description>&lt;p&gt;When you creat a new form you have to select Database.&amp;nbsp; This will allow you to connect to the database and query the tables.&amp;nbsp; &lt;/p&gt;&lt;p&gt;When creating a new form select File --&amp;gt; New --&amp;gt; Advanced Form Templates --&amp;gt; Database.&amp;nbsp; &lt;/p&gt;&lt;p&gt;If you are speaking about adding a secondary data once you have created a form and then querying it, I&amp;#39;m at a loss on that one.&amp;nbsp; I&amp;#39;m tying to figure it myself.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: How do i query a secondary SQL data connection.</title><link>https://www.infopathdev.com:443/forums/thread/85376.aspx</link><pubDate>Mon, 17 Dec 2012 19:28:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85376</guid><dc:creator>carpenb</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85376.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=85376</wfw:commentRss><description>I am connecting to a single sql database but I cannot pass a parameter to the database - I&amp;#39;d like to query the database but there are no query fields.</description></item><item><title>Re: How do i query a secondary SQL data connection.</title><link>https://www.infopathdev.com:443/forums/thread/85344.aspx</link><pubDate>Sat, 15 Dec 2012 16:23:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85344</guid><dc:creator>smonczka</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85344.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=85344</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Are you having issues connecting to a database in InfoPath or connecting to multiple databases?&lt;/p&gt;</description></item><item><title>Re: How do i query a secondary SQL data connection.</title><link>https://www.infopathdev.com:443/forums/thread/85293.aspx</link><pubDate>Thu, 13 Dec 2012 17:29:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85293</guid><dc:creator>carpenb</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85293.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=85293</wfw:commentRss><description>Hi Steve

I&amp;#39;m trying to do exactly the thing as you did but cannot figure out how to query my SQL database can you please tell me how you managed to connect to query your database?

Thanks,

Brenda</description></item><item><title>Re: How do i query a secondary SQL data connection.</title><link>https://www.infopathdev.com:443/forums/thread/65526.aspx</link><pubDate>Mon, 28 Mar 2011 21:55:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65526</guid><dc:creator>smonczka</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65526.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=65526</wfw:commentRss><description>&lt;p&gt;Patric thank you for the responce.&amp;nbsp; Though I did figure out that I could incude the second table in the original data connection and acheave the same results.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Thank you for your help,&lt;br /&gt;Steve&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: How do i query a secondary SQL data connection.</title><link>https://www.infopathdev.com:443/forums/thread/65491.aspx</link><pubDate>Mon, 28 Mar 2011 13:29:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65491</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65491.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=65491</wfw:commentRss><description>&lt;p&gt;Hi Steve,&lt;/p&gt;
&lt;p&gt;You can&amp;#39;t filter SQL rowsets using a passed in parameter. InfoPath doesn&amp;#39;t support passing query parameters to SQL. You can hardcode it in the SQL data connection and then use code to modify but as you say that&amp;#39;s just not a great solution. &lt;/p&gt;
&lt;p&gt;We recommend using a Web service to do this. In fact, we developed DBXL back in 2005 to plug this gap and others. Free trial from the qdabra dot com site. You can install this and do your parameterized query. Piece of cake.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>How do i query a secondary SQL data connection.</title><link>https://www.infopathdev.com:443/forums/thread/65402.aspx</link><pubDate>Thu, 24 Mar 2011 02:33:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65402</guid><dc:creator>smonczka</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65402.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=65402</wfw:commentRss><description>I am creating a Quote Form that pulls existing quoting information from a SQL back end.  This form has two parts the first pulls client information from one SQL table and the second pulls the line items from another SQL table.  What&amp;#39;s falling apart is that I do not understand how to query the second SQL data connection.  

To create the form I used the Database Template and created the main data connection.  After adding the Query field and the Data fields to the form, I was able to enter a quote number and return the client info for that quote.  The issue comes in when I create a secondary data connection, I only see data fields and no Query fields.  What I was hoping to do is pass the Quote number to both queries.  From what&amp;#39;s been posted on the forums I can do this with code behind but would rather not, as I&amp;#39;m unfamiliar with coding.  

Could someone point me in the direction of a good posting or tutorial that would show me how to query the second data source?

Thank you very much.
Steve</description></item></channel></rss>