<?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: Running sql queries from info path</title><link>https://www.infopathdev.com:443/forums/thread/35603.aspx</link><pubDate>Wed, 10 Dec 2008 13:46:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35603</guid><dc:creator>Jimothias</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35603.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=35603</wfw:commentRss><description>&lt;p&gt;Your a genius!&lt;/p&gt;
&lt;p&gt;It seems so simple, I had all the connections in place to the relevant boxes, all I had to do was filter it. It seems if your using a SQL connection as a DB connection you don&amp;#39;t need to make any other changes for repeating tables either.&lt;/p&gt;
&lt;p&gt;Thanks again Swathip, your help is much appreciated.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;James&lt;/p&gt;</description></item><item><title>Re: Running sql queries from info path</title><link>https://www.infopathdev.com:443/forums/thread/35596.aspx</link><pubDate>Wed, 10 Dec 2008 12:20:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35596</guid><dc:creator>swathip</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35596.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=35596</wfw:commentRss><description>&amp;nbsp;Hi and welcome to the forums, 
&lt;p&gt;Add a drop down field in the form and follow the below steps.&lt;/p&gt;
&lt;p&gt;1. Open the drop down properties by double clicking on the control.&lt;/p&gt;
&lt;p&gt;2. Select ‘Look up values from an external data source..&amp;#39; option button.&lt;/p&gt;
&lt;p&gt;3. Select the data base source in the Data source drop down.&lt;/p&gt;
&lt;p&gt;4. Click on button which is after the Entries text box.&lt;/p&gt;
&lt;p&gt;5. Select the ‘customer&amp;#39; column.&lt;/p&gt;
&lt;p&gt;6. Click ok until all the windows to be closed.&lt;/p&gt;
&lt;p&gt;Add another drop down for orders. And here you will do the filter based on customer. You can that filter using the following link.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.infopathdev.com/blogs/greg/archive/2005/07/06/Create-a-Cascading-List-from-a-Flat-Data-Source.aspx"&gt;http://www.infopathdev.com/blogs/greg/archive/2005/07/06/Create-a-Cascading-List-from-a-Flat-Data-Source.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In the above link, they used xml as the secondary data source. Instead you can use data base as secondary source.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Running sql queries from info path</title><link>https://www.infopathdev.com:443/forums/thread/35595.aspx</link><pubDate>Wed, 10 Dec 2008 11:35:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35595</guid><dc:creator>Jimothias</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35595.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=35595</wfw:commentRss><description>&lt;p&gt;Greetings to all!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I&amp;#39;m an SQL newborn and need to be treated tenderly :0)&lt;/p&gt;
&lt;p&gt;This is what I am trying to achieve...and I bet someone will reply with &amp;quot;You silly sausage, you need to do this....so simple :-)&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I have an infopath form (expenses, not from the template, this is a &lt;em&gt;from scratch&lt;/em&gt; form) which connects to a database that contains all our customers (column &amp;quot;customer&amp;quot;)&amp;nbsp;and the job numbers associated with that customer (column &amp;quot;order_no&amp;quot;). I&amp;#39;m running a query/data connection&amp;nbsp;that drags (well...references it anyways)&amp;nbsp;the customer names and job numbers into InfoPath. What I would love to be able to do is allow the end user to select the customer from a drop down, which would then filter the order numbers, so they only see the order numbers for that customer, which should only give them a list of around 5 - 6 rather than thoasands.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;If anyone can point me in the right direction I would be eternally grateful :0)&lt;/p&gt;
&lt;p&gt;Thanks in advance to anyone who can help&lt;/p&gt;
&lt;p&gt;James&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>