<?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: query database using dropdown selection</title><link>https://www.infopathdev.com:443/forums/thread/26879.aspx</link><pubDate>Fri, 29 Feb 2008 15:07:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26879</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26879.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=26879</wfw:commentRss><description>&lt;p&gt;Hi and welcome to Infopath and the forum.&lt;/p&gt;
&lt;p&gt;You can do this easily, however not with the standard database data connection.&amp;nbsp; As you have seen it does not allow for dynmic queries.&lt;/p&gt;
&lt;p&gt;Web Services are the best practice as they give the most flexibility.&amp;nbsp; There are ways to paste a query together in code but this can be tough to manage or not as efficient.&lt;/p&gt;
&lt;p&gt;Do you have access to a web server / sql server that you could install some web services?&amp;nbsp; Then you could query and table you wanted to.&lt;/p&gt;</description></item><item><title>query database using dropdown selection</title><link>https://www.infopathdev.com:443/forums/thread/26874.aspx</link><pubDate>Fri, 29 Feb 2008 13:53:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26874</guid><dc:creator>denfer06</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26874.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=26874</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m quite new with Infopath.&lt;/p&gt;
&lt;p&gt;Is it possible to query a Database using a value selected in&amp;nbsp;a DropDownList ?&lt;/p&gt;
&lt;p&gt;I have a first dropdown list that are filled with ProjectName list&lt;/p&gt;
&lt;p&gt;I want to fill a second dropdown (Task List) list according to the ProjectName selection.&lt;/p&gt;
&lt;p&gt;The problem is that ProjectName and Task List are not on the same&amp;nbsp;server.&lt;/p&gt;
&lt;p&gt;I have a store procedure that take the ProjectName en entry and return the TaskList coresponding to it on the right server.&lt;/p&gt;
&lt;p&gt;I need either to connect to this store procedure or something like that&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;</description></item></channel></rss>