<?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>Microsoft Access</title><link>https://www.infopathdev.com:443/forums/141.aspx</link><description>Qdabra is committed to answering InfoPath questions. However, we do not support Microsoft Access. For non-Access questions, please use the other boards.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Timeout error during form load</title><link>https://www.infopathdev.com:443/forums/thread/97920.aspx</link><pubDate>Thu, 12 Jun 2014 08:58:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:97920</guid><dc:creator>Yuraj</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/97920.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=141&amp;PostID=97920</wfw:commentRss><description>&lt;p&gt;Hi Hilary,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;What if the connection which i giving the timed out error is the main connection. In the Wizard for the main connect i don&amp;#39;t see any option for &amp;quot;Automatically retrive data when the form is opened&amp;quot;. For other input connections i&amp;nbsp;see&amp;nbsp;this option.&lt;/p&gt;</description></item><item><title>Re: Timeout error during form load</title><link>https://www.infopathdev.com:443/forums/thread/76960.aspx</link><pubDate>Thu, 29 Mar 2012 02:49:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76960</guid><dc:creator>gdgonzal</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76960.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=141&amp;PostID=76960</wfw:commentRss><description>&lt;p&gt;Hello Hilary,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I am also having timeout when using VPN.&amp;nbsp; I have tried below using On Load Event and it doesn&amp;#39;t seem to have any effect.&amp;nbsp; Is there something I am missing?&amp;nbsp; I should also mention I am using ODBC connection to Access dbase.&lt;/p&gt;
&lt;p&gt;function XDocument::OnLoad(eventObj) &lt;/p&gt;
&lt;p&gt;{ &lt;/p&gt;
&lt;p&gt;var dAdapt = XDocument.DataAdapters[&amp;quot;AssignmentsLookUp_Q&amp;quot;]; &lt;/p&gt;
&lt;p&gt;dAdapt.Timeout = 300; // Increase to 300 seconds - Default is 30 &lt;/p&gt;
&lt;p&gt;dAdapt.Query(); // Issue the query &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;var dAdapt = XDocument.DataAdapters[&amp;quot;OpportunityNumberLookUp_Q&amp;quot;]; &lt;/p&gt;
&lt;p&gt;dAdapt.Timeout = 300; // Increase to 300 seconds - Default is 30 &lt;/p&gt;
&lt;p&gt;dAdapt.Query(); // Issue the query&lt;/p&gt;
&lt;p&gt;&amp;nbsp;}&lt;/p&gt;</description></item><item><title>Re: Timeout error during form load</title><link>https://www.infopathdev.com:443/forums/thread/50355.aspx</link><pubDate>Wed, 06 Jan 2010 19:47:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50355</guid><dc:creator>showet</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50355.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=141&amp;PostID=50355</wfw:commentRss><description>&lt;p&gt;We are also having a timeout issue when the infopath form is loading.&amp;nbsp; This happens&amp;nbsp;apparently because a webservice is taking too long to populate the controls on the page&amp;nbsp;because the users are on slow remote sites.&lt;/p&gt;
&lt;p&gt;I have used the JScript code recommended and I tried both 60 seconds and 120 seconds but we continue to get the&amp;nbsp;message that it has timedout&amp;nbsp;and cannot populate the controls.&amp;nbsp; The error message is returned in about 40 seconds so it does not look like the timeout is working correctly .&lt;/p&gt;
&lt;p&gt;Does something&amp;nbsp;different need to be done for InfoPath 2007?&amp;nbsp; Is there another or better solution?&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;</description></item><item><title>Re: Timeout error during form load</title><link>https://www.infopathdev.com:443/forums/thread/45096.aspx</link><pubDate>Tue, 28 Jul 2009 16:16:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45096</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45096.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=141&amp;PostID=45096</wfw:commentRss><description>&lt;p&gt;Well, I&amp;#39;d guess:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Dim dAdapt &lt;br /&gt;Set dAdapt = XDocument.DataAdapters(&amp;quot;Test1&amp;quot;) &lt;br /&gt;dAdapt.Timeout = 60&amp;nbsp; &amp;#39;Increase to 60 seconds - Default is 30 &lt;br /&gt;dAdapt.Query() &amp;#39;Issue the query &lt;/p&gt;&lt;/blockquote&gt;</description></item><item><title>Re: Timeout error during form load</title><link>https://www.infopathdev.com:443/forums/thread/45092.aspx</link><pubDate>Tue, 28 Jul 2009 15:39:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45092</guid><dc:creator>gdgonzal</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45092.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=141&amp;PostID=45092</wfw:commentRss><description>How do you do this with VB Script?&amp;nbsp; Thanks</description></item><item><title>Re: Timeout error during form load</title><link>https://www.infopathdev.com:443/forums/thread/40355.aspx</link><pubDate>Mon, 06 Apr 2009 14:28:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:40355</guid><dc:creator>Kalinsias</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/40355.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=141&amp;PostID=40355</wfw:commentRss><description>&lt;p&gt;Awesome! Thanks so much!&lt;/p&gt;</description></item><item><title>Re: Timeout error during form load</title><link>https://www.infopathdev.com:443/forums/thread/40353.aspx</link><pubDate>Mon, 06 Apr 2009 14:23:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:40353</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/40353.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=141&amp;PostID=40353</wfw:commentRss><description>&lt;p&gt;First, under &lt;strong&gt;Tools / Form Options&lt;/strong&gt; set your programming language to JScript.&lt;/p&gt;
&lt;p&gt;Then, make sure your data connection that is timing out&amp;nbsp;isn&amp;#39;t set to query on load. When you walk through the data connection wizard, this is an option on the last screen -- a checkbox that says &lt;strong&gt;&amp;quot;Automatically retrieve data when form is opened&amp;quot;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Next, under &lt;strong&gt;Tools / Programming &lt;/strong&gt;select the &lt;strong&gt;On Load Event&lt;/strong&gt;. This will add an event to your form that will run every time the form is opened. It will also open the Script editor. Your cursor will probably automatically be placed at a line that says &amp;quot;// Write your code here &amp;quot;&lt;/p&gt;
&lt;p&gt;Replace that comment line with:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;var dAdapt = XDocument.DataAdapters[&amp;quot;&lt;strong&gt;Test1&lt;/strong&gt;&amp;quot;]; &lt;br /&gt;dAdapt.Timeout = &lt;strong&gt;60&lt;/strong&gt;; // Increase to 60 seconds - Default is 30 &lt;br /&gt;dAdapt.Query(); // Issue the query &lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Everything after the &amp;quot;//&amp;quot; symbols is a comment in the code. The items in &lt;strong&gt;bold&lt;/strong&gt; you are going to need to update with your own values. My data connection is called &lt;strong&gt;Test1&lt;/strong&gt; -- you need to put the name of your data connection in instead. I&amp;#39;ve set the timeout to 60 seconds -- you should have your VPN user try this and see if it needs to be adjusted further.&lt;/p&gt;</description></item><item><title>Re: Timeout error during form load</title><link>https://www.infopathdev.com:443/forums/thread/40313.aspx</link><pubDate>Sat, 04 Apr 2009 04:26:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:40313</guid><dc:creator>Kalinsias</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/40313.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=141&amp;PostID=40313</wfw:commentRss><description>&lt;p&gt;Thanks for the reply. I am using 2003 and yes, the user has access to the shared drive.&lt;/p&gt;</description></item><item><title>Re: Timeout error during form load</title><link>https://www.infopathdev.com:443/forums/thread/40308.aspx</link><pubDate>Sat, 04 Apr 2009 00:29:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:40308</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/40308.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=141&amp;PostID=40308</wfw:commentRss><description>&lt;p&gt;Hi, and welcome. Are you using InfoPath 2003 or 2007? Your VPN user has access to the shared drive, correct?&lt;/p&gt;</description></item><item><title>Timeout error during form load</title><link>https://www.infopathdev.com:443/forums/thread/40307.aspx</link><pubDate>Fri, 03 Apr 2009 23:18:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:40307</guid><dc:creator>Kalinsias</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/40307.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=141&amp;PostID=40307</wfw:commentRss><description>&lt;p&gt;I have read through the forums and saw several threads that talked about this topic. In reading them, I came quickly to the conclusion that I haven&amp;#39;t learned as much as I thought. I have picked up on form designing and even database connections, but I&amp;#39;ve hit a problem that probably requires inserting some code, and I&amp;#39;m a serious fish out of water in that department.&lt;/p&gt;
&lt;p&gt;I have a form that several users in my department will be using to record audit findings. To make it easier on them, I created an Access database for populating several of the drop-down lists in the form. The&amp;nbsp;InfoPath form&amp;nbsp;and the&amp;nbsp;Access database are in the same folder on a shared drive.&amp;nbsp;For people on the network, it works fine. However, I have one user that is remote and connecting to the network via VPN. When she attempts to open the form, she gets the error regarding timeout.&lt;/p&gt;
&lt;p&gt;I guess what I need is to know how to increase that timeout, written for an InfoPath user that is still in diapers. Ha!&lt;/p&gt;
&lt;p&gt;Any help will be much appreciated. This isn&amp;#39;t my background, but I am a quick study....promise!&lt;/p&gt;</description></item></channel></rss>