<?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>SQL Database Integration</title><link>https://www.infopathdev.com:443/forums/47.aspx</link><description>For questions concerning issues in the integration of SQL and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Multiple SQL 2005 DB into InforPath 2007</title><link>https://www.infopathdev.com:443/forums/thread/49614.aspx</link><pubDate>Wed, 02 Dec 2009 09:21:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49614</guid><dc:creator>sql_dan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49614.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=49614</wfw:commentRss><description>Hi Patrick, 

Thanks for your time to explain all this. 
We have ordered a SharePoint Server licence so i&amp;#39;ll have a play with InfoPath and that to see how it all fits together.

Thanks again for your help Patrick.

Dan</description></item><item><title>Re: Multiple SQL 2005 DB into InforPath 2007</title><link>https://www.infopathdev.com:443/forums/thread/49610.aspx</link><pubDate>Wed, 02 Dec 2009 04:15:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49610</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49610.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=49610</wfw:commentRss><description>&lt;p&gt;Hi Dan,&lt;/p&gt;
&lt;p&gt;Well, you could certainly set up 3 database queries as actions in a rule that fires when you click a button. The problem is that the data must be pulled down to the form and then filtered so it could take a lot of time if you have large databases. There is no way in InfoPath to pass a query filter in dynamically from a field when you execute the database query. To do programmatic filtering on the server, you need to a) use a Web Service like Qdabra&amp;#39;s qWSSP or b) write some code that calls a SPROC or something. Of course, you could also prepare a SQL view and hardcode the filter and that would prevent downloading all the data to the form, but what most people really need is dynamic filtering on the server and InfoPath doesn&amp;#39;t have that out-of-the-box. You can filter the SQL query in the database connection wizard but it must use a hardcoded value. Injecting a dynamic value can be done with code that constructs the TSQL query string and passes it to the data connection. &lt;/p&gt;
&lt;p&gt;Best practice is to use a Web Service and pass the filtering field parameter to it. The Web Service executes the query and returns the results to InfoPath. That will make your query very fast and reduce the amount of data coming down over the wire.&lt;/p&gt;
&lt;p&gt;So, to summarize, &lt;strong&gt;sure you can do it from InfoPath but there are limitations around filtering. Best practice is to use a Web Service to provide dynamic filtering and optimal performance.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Hope this was helpful. &lt;/p&gt;</description></item><item><title>Multiple SQL 2005 DB into InforPath 2007</title><link>https://www.infopathdev.com:443/forums/thread/49525.aspx</link><pubDate>Mon, 30 Nov 2009 15:10:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49525</guid><dc:creator>sql_dan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49525.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=49525</wfw:commentRss><description>&lt;p&gt;&lt;font face="Verdana, Arial, Helvetica" size="2"&gt;Hi there, 1st of all I am fairly new to InfoPath and am learning as I go so  
please be patient with any &amp;#39;silly&amp;#39; questions! 
&lt;br /&gt;
 
&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Verdana, Arial, Helvetica" size="2"&gt;I have done a search for this on many forums and google and not found anything but if it has been covered then I appologise for the duplication and welcome the forwarding link.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Verdana, Arial, Helvetica" size="2"&gt;I manage a number of SQL Servers across 3 sites and we are in the process of  
moving them onto a central server so that they can be managed within one  
session of SQL Server. 
&lt;br /&gt;
 
&lt;br /&gt;
I began playing with InfoPath 2007 last week and managed to connect it to  
the database and run queries.  
&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Verdana, Arial, Helvetica" size="2"&gt;My question however relates to wheter InfoPath is powerful enough to connect  
to more than 1 SQL connection to perform a query over multiple databases. 
Please bear in mind that the architecture of all databases over the 3 sites  
are identical just with different information contained within the tables. 
&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Verdana, Arial, Helvetica" size="2"&gt;If this is not possible through a single query would this be possible in  
another way?? (Even if additional programmes are required etc)&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Verdana, Arial, Helvetica" size="2"&gt;If this is not possible (1 query to 3 SQL DB&amp;#39;s) then can InfoPath handle 3 SQL DB connections with one on a seperate view?&lt;/font&gt;&lt;br /&gt;&lt;font face="Verdana, Arial, Helvetica" size="2"&gt;
&lt;br /&gt;Any help would be great.&lt;br /&gt;Thanks 
&lt;br /&gt;
Dan&lt;/font&gt;&lt;/p&gt;</description></item></channel></rss>