<?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: Large data connection help needed</title><link>https://www.infopathdev.com:443/forums/thread/20104.aspx</link><pubDate>Tue, 22 May 2007 17:27:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:20104</guid><dc:creator>shaun.nieves</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/20104.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=20104</wfw:commentRss><description>&lt;p&gt;Thanks for the reply! I&amp;#39;ll take a look at the accelerator today. &lt;/p&gt;&lt;p&gt;&amp;nbsp;I checked the IE settings and moved it from trusted to intranet but it didn&amp;#39;t work. As far as the SQL connection is concerned. Could it be a port issue? Or is it even possible to connect to a SQL server remotely? When I test the form from within the network, it works fine however when I open the form from outside the network, I get the error. Please let me know if what I&amp;#39;m trying to do is even feasible. Thanks again!&lt;/p&gt;</description></item><item><title>Re: Large data connection help needed</title><link>https://www.infopathdev.com:443/forums/thread/20087.aspx</link><pubDate>Mon, 21 May 2007 19:24:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:20087</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/20087.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=20087</wfw:commentRss><description>&lt;p&gt;Hey Shaun.&lt;/p&gt;&lt;p&gt;The error here would be pointing to your permissions on SQL.&amp;nbsp; If it works fine local but not remote and this error occurs when connecting that data connection SQL is denying your request.&amp;nbsp; You maybe want to try running the query via manager when connected remotely to debug this. It could also be your Internet Explorer settings and how you treat the site that the form is being loaded from you should have it added to your intranet sites. This can often break connectivity in InfoPath dataconnections.&lt;/p&gt;&lt;p&gt;As far as performance, with these large lists and nesting you are going to put a strain on InfoPath.&amp;nbsp; It is loading over 2500 items just to populate these drop downs.&amp;nbsp; I would look at both how you organize your form as well as wether you can limit some of these lists or only load them manually when needed.&amp;nbsp; You may need to break up your from into more views or more forms if performance is important.&amp;nbsp; Webservices would help as well since you could maybe perform some queried lookups instead of loading the whole list.&lt;/p&gt;&lt;p&gt;I am not sure if you have evaluated the Database Accelerator download but it would give you some webservice examples or it may be a quick and easy way of getting the solution you need without having to build everything yourself.&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.infopathdev.com/files/folders/dbxldownload/entry19957.aspx" target="_blank"&gt;Qdabra Database Accelerator Suite Version 2.0 - Developer&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Large data connection help needed</title><link>https://www.infopathdev.com:443/forums/thread/20049.aspx</link><pubDate>Fri, 18 May 2007 01:47:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:20049</guid><dc:creator>shaun.nieves</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/20049.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=20049</wfw:commentRss><description>&lt;p&gt;I have a scheduling form where the user will enter in 3 items. The first dropdown has around 140 items. The second around 1800 and the third, 650. The lists are located in SharePoint. At first I created data connections however the customer wanted to see a concatenation of the client code and client name. Since infopath can not read a calculated sharepoint column, I created a SQL data connection. (See below) It pulls what I need however I&amp;#39;m having 2 problems with it. &lt;/p&gt;&lt;ol start="1"&gt;&lt;li&gt;&amp;nbsp;It works internally however it does not work if I am accessing the form from outside of the network. I get an error stating the rule could not be run. All other data connection work just fine.&lt;/li&gt;&lt;li&gt;Secondly, these dropdowns are in a repeating row so as subsequent rows are added, the form slows to a crawl.&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;I&amp;#39;ve read that this can be accomplished using a web service however I&amp;#39;m not that well versed with that right now so I was hoping someone has an idea of what I&amp;#39;m doing wrong or if I&amp;#39;m heading in the wrong direction. If a web service is the only way then so be it but I&amp;#39;d like to use the SQL commands. Any help is greatly appreciated!&lt;/p&gt;&lt;p&gt;&amp;nbsp;SELECT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Lists.tp_Title AS LIST, UserData.nvarchar2 AS CCODE, UserData.nvarchar8 AS NAME, UserData.nvarchar9 AS PHONE, &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UserData.nvarchar2 + N&amp;#39;, &amp;#39; + UserData.nvarchar3 AS CONCAT&lt;br /&gt;FROM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UserData INNER JOIN&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Lists ON UserData.tp_ListId = Lists.tp_ID&lt;br /&gt;WHERE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (UserData.tp_ListId = &amp;#39;{4C576139-9BF5-40E7-BC8C-320891FFB2F1}&amp;#39;) AND (UserData.bit1 = 1)&lt;br /&gt;UNION&lt;br /&gt;SELECT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Lists.tp_Title AS LIST, UserData.nvarchar2 AS CCODE, UserData.nvarchar8 AS NAME, UserData.nvarchar9 AS PHONE, &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UserData.nvarchar2 + N&amp;#39;, &amp;#39; + UserData.nvarchar3 AS CONCAT&lt;br /&gt;FROM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UserData INNER JOIN&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Lists ON UserData.tp_ListId = Lists.tp_ID&lt;br /&gt;WHERE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (UserData.tp_ListId = &amp;#39;{8DB2783F-B5C1-4E71-9B86-C752A3AAADB1}&amp;#39;) AND (UserData.bit2 = 1)&lt;br /&gt;ORDER BY Lists.tp_Title, UserData.nvarchar2&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Here is the SQL error I receive&lt;/p&gt;&lt;p&gt;&lt;img align="left" height="146" src="http://digital-blizzard.com/Shared%20Documents/Infopath%20SQL%20error.bmp" style="width:493px;height:146px;" width="493" /&gt;&lt;/p&gt;</description></item></channel></rss>