<?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: Increase Timeout length when creating a SQL data connection</title><link>https://www.infopathdev.com:443/forums/thread/108321.aspx</link><pubDate>Tue, 25 Oct 2016 00:41:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:108321</guid><dc:creator>CCBSMF</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/108321.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=108321</wfw:commentRss><description>Roger that. So far, so good. No issues to report and the new timeout feature is a blessing. Thank you for allowing us to beta for you.</description></item><item><title>Re: Increase Timeout length when creating a SQL data connection</title><link>https://www.infopathdev.com:443/forums/thread/108318.aspx</link><pubDate>Mon, 24 Oct 2016 23:35:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:108318</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/108318.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=108318</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Just updating to add that you have this for beta testing now, and this will be included in qRules 8.1&lt;/p&gt;</description></item><item><title>Re: Increase Timeout length when creating a SQL data connection</title><link>https://www.infopathdev.com:443/forums/thread/108213.aspx</link><pubDate>Fri, 07 Oct 2016 17:58:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:108213</guid><dc:creator>CCBSMF</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/108213.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=108213</wfw:commentRss><description>That would be perfect! is there anyway that(timeout parameter) can be added to the beta version now and then I would gladly test for you. My only concern would be that I have the ability to roll back to a previous version or have you on hand(email phone call or otherwise) incase we run into some problems. This is currently in our clients production environment and the form cant be down for long.</description></item><item><title>Re: Increase Timeout length when creating a SQL data connection</title><link>https://www.infopathdev.com:443/forums/thread/108212.aspx</link><pubDate>Fri, 07 Oct 2016 17:41:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:108212</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/108212.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=108212</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Well, on review of the user guide &amp;amp; the code, it appears I may have been lying to you. :) &lt;/p&gt;&lt;p&gt;So, now you get to help me decide the best approach for this. We are trying to get qRules 8.1 out the door (email me via the forum if you want to beta test a copy for me), and this would be a great time to add this.&lt;/p&gt;&lt;p&gt;The simplest approach would just be to add a timeout parameter to the ModifySqlQuery command, then you can just add /timeout=120 or whatever to your existing command. I should add that to ExecuteSqlQuery too. &lt;/p&gt;</description></item><item><title>Re: Increase Timeout length when creating a SQL data connection</title><link>https://www.infopathdev.com:443/forums/thread/108211.aspx</link><pubDate>Fri, 07 Oct 2016 17:21:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:108211</guid><dc:creator>CCBSMF</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/108211.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=108211</wfw:commentRss><description>Hey Hillary, remember when you said the &amp;quot;timeout can be adjusted via qrules&amp;quot;? How do I got about doing so along with my ModifySQL command?</description></item><item><title>Re: Increase Timeout length when creating a SQL data connection</title><link>https://www.infopathdev.com:443/forums/thread/97256.aspx</link><pubDate>Thu, 01 May 2014 18:12:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:97256</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/97256.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=97256</wfw:commentRss><description>&lt;p&gt;Excellent! glad it is all sorted. :)&lt;/p&gt;</description></item><item><title>Re: Increase Timeout length when creating a SQL data connection</title><link>https://www.infopathdev.com:443/forums/thread/97254.aspx</link><pubDate>Thu, 01 May 2014 17:59:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:97254</guid><dc:creator>CCBSFranco</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/97254.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=97254</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Well I could kiss you right now. Thanks so much Hilary. I think I can take it from here. &lt;/p&gt;</description></item><item><title>Re: Increase Timeout length when creating a SQL data connection</title><link>https://www.infopathdev.com:443/forums/thread/97252.aspx</link><pubDate>Thu, 01 May 2014 17:44:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:97252</guid><dc:creator>CCBSFranco</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/97252.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=97252</wfw:commentRss><description>&lt;p&gt;It does, Thank you. I will give this a try and see what I can do. &lt;/p&gt;&lt;p&gt;Thanks again.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Increase Timeout length when creating a SQL data connection</title><link>https://www.infopathdev.com:443/forums/thread/97250.aspx</link><pubDate>Thu, 01 May 2014 17:41:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:97250</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/97250.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=97250</wfw:commentRss><description>&lt;p&gt;I am suggesting that when you create the data connection in your InfoPath form template, you include the Where clause by clicking the Edit SQL button in the data connection dialog that generally shows the SQL data structure tree. Set the data connection to not run on load.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Then save your form as source files (from the Publish backstage).&lt;/p&gt;
&lt;p&gt;Then open manifest.xsf in a text editor and look for your &amp;quot;Where&amp;quot; clause - remove that from the SQL in manifest.xsf. Save your changes. Right click manifest.xsf and select Design. This opens the form in design mode. Use File &amp;gt; Save As to pack your form back up as an XSN.&lt;/p&gt;
&lt;p&gt;Now, you should be able to use the qRules ModifySQL command to add a new, dynamic Where clause to your query as needed.&lt;/p&gt;
&lt;p&gt;Does that make sense?&lt;/p&gt;
&lt;p&gt;To directly answer your question about the timeout - I do not know of a way to adjust the time out for a data connection while walking through the data connection wizard. Once the connection has been created, the timeout can be adjusted via qRules or code.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Increase Timeout length when creating a SQL data connection</title><link>https://www.infopathdev.com:443/forums/thread/97249.aspx</link><pubDate>Thu, 01 May 2014 17:37:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:97249</guid><dc:creator>CCBSFranco</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/97249.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=97249</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Let me see if I understand correctly. Keep my WHERE clause and make the Data connection. Then save the form and use it a xml source file for&amp;nbsp;a data connection in&amp;nbsp;a new form? When you say remove it from the manifest do you mean removing&amp;nbsp;the&amp;nbsp;WHERE clause&amp;nbsp;from the xml source file?&lt;/p&gt;</description></item><item><title>Re: Increase Timeout length when creating a SQL data connection</title><link>https://www.infopathdev.com:443/forums/thread/97247.aspx</link><pubDate>Thu, 01 May 2014 17:27:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:97247</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/97247.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=97247</wfw:commentRss><description>&lt;p&gt;By &amp;quot;IP&amp;quot; I meant InfoPath - the button itself shows the SQL InfoPath is using. What I&amp;#39;m trying to suggest is a way to get the form to let you set up the data connection - my understanding of your description was that the form is timing out when you try to create the data connection. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;But it sounds like you are already directly modifying the SQL when you create the query to include your &amp;quot;With&amp;quot; statement. &lt;/p&gt;
&lt;p&gt;So - why not just add the where clause when you create the connection, then save the form as source files, and remove the where clause from the manifest (which is where your original SQL command will be found) so you can use ModifySQL from qRules? A little work-around-y, but it might do the trick...&lt;/p&gt;</description></item><item><title>Re: Increase Timeout length when creating a SQL data connection</title><link>https://www.infopathdev.com:443/forums/thread/97246.aspx</link><pubDate>Thu, 01 May 2014 16:54:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:97246</guid><dc:creator>CCBSFranco</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/97246.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=97246</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Still couldn&amp;#39;t find a &amp;quot;Show IP&amp;quot; option and the TOP(x) isn&amp;#39;t working either. I&amp;#39;m using a WITH statement to create multiple &amp;quot;temp tables&amp;quot; and with a WHERE clause it runs incredibly fast. Without it, it&amp;#39;s querying the entire db. I just need to get the connection made then the ModifySql command will keep my performance great and smooth.&amp;nbsp; &lt;/p&gt;</description></item><item><title>Re: Increase Timeout length when creating a SQL data connection</title><link>https://www.infopathdev.com:443/forums/thread/97245.aspx</link><pubDate>Thu, 01 May 2014 16:45:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:97245</guid><dc:creator>CCBSFranco</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/97245.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=97245</wfw:commentRss><description>&lt;p&gt;I don&amp;#39;t recall the show ip option. I will recreate the connection and look for it closer.&amp;nbsp; About the &amp;quot;TOP(x)&amp;quot; I can attempt it, but I don&amp;#39;t believe it will do me any favors as the data sets can vary greatly and since I am not filtering with my where til in the form it&amp;#39;s still going to cycle through a project list. Which in this case really is the problem causing the timeout. I will attempt both and let you know how it goes. &lt;/p&gt;&lt;p&gt;Thanks for the quick response.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Increase Timeout length when creating a SQL data connection</title><link>https://www.infopathdev.com:443/forums/thread/97244.aspx</link><pubDate>Thu, 01 May 2014 16:33:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:97244</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/97244.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=97244</wfw:commentRss><description>&lt;p&gt;When you initially create the data connection to SQL there should be a button in one of the dialogs that you can click to show the actual SQL IP is using. I&amp;#39;m wondering about adding a &amp;quot;top x&amp;quot; to the query - do you have an idea of the max number of rows your ModifySQLQuery command might return? You could probably limit the results enough to allow SQL to create the connection.&lt;/p&gt;</description></item><item><title>Re: Increase Timeout length when creating a SQL data connection</title><link>https://www.infopathdev.com:443/forums/thread/97243.aspx</link><pubDate>Thu, 01 May 2014 16:10:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:97243</guid><dc:creator>CCBSFranco</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/97243.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=97243</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;This is in IP 2010. sorry meant to put that in there. SQL 2008 r2 is the DB im pulling from.&lt;/p&gt;</description></item></channel></rss>