<?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: Data Connections causing Inserting a new row to a Repeating table to act slowly</title><link>https://www.infopathdev.com:443/forums/thread/83987.aspx</link><pubDate>Mon, 29 Oct 2012 15:11:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83987</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83987.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=83987</wfw:commentRss><description>&lt;p&gt;You can find a lot of code samples for this on line - &lt;a href="http://sharepointtopics.blogspot.com/2008/07/adding-rows-programmatically-in.html"&gt;here&amp;#39;s&lt;/a&gt; one sample. &lt;/p&gt;&lt;p&gt;However, I would not assume that the insertion of the rows is causing your performance issue, nor would I assume that code will cause this to execute more quickly. It seems more likely that the issue is caused by the form rendering more slowly as the rows are added. Is your form posting back each time you add a row using the built in functionality? That is, do you get the &amp;quot;sending data to the server&amp;quot; message?&lt;/p&gt;</description></item><item><title>Re: Data Connections causing Inserting a new row to a Repeating table to act slowly</title><link>https://www.infopathdev.com:443/forums/thread/83966.aspx</link><pubDate>Sat, 27 Oct 2012 08:25:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83966</guid><dc:creator>Tank86</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83966.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=83966</wfw:commentRss><description>&lt;div class="ForumPostContentText"&gt;
&lt;p&gt;Hi, thanks for the response getting 3rd party software installed on our servers is not easy and therefore think code would be easier if i could.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks&lt;/p&gt;
&lt;p&gt;K&lt;/p&gt;&lt;/div&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Data Connections causing Inserting a new row to a Repeating table to act slowly</title><link>https://www.infopathdev.com:443/forums/thread/83939.aspx</link><pubDate>Fri, 26 Oct 2012 18:21:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83939</guid><dc:creator>Anson Hidajat</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83939.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=83939</wfw:commentRss><description>&lt;p&gt;Consider checking out qRules which containts an Insert function that does exactly what you need.&amp;nbsp; A trial version can be found here: &lt;a href="http://www.qdabra.com/en/products/qRules_new.aspx"&gt;http://www.qdabra.com/en/products/qRules_new.aspx&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Data Connections causing Inserting a new row to a Repeating table to act slowly</title><link>https://www.infopathdev.com:443/forums/thread/83919.aspx</link><pubDate>Fri, 26 Oct 2012 13:32:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83919</guid><dc:creator>Tank86</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83919.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=83919</wfw:commentRss><description>&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;Hi,&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;I am designing an InfoPath&amp;nbsp;2007 form which has a repeating table that contains two rather large Data connections linked to SharePoint lists.&amp;nbsp; &lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;The trouble is, when inserting additional rows this gets slower and slower the more&amp;nbsp;I try to add.&amp;nbsp; Is there any way I can speed this up?&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;I was thinking i maybe able to do some via some code.&amp;nbsp; I already have some jscript code running in my form for various actions and was trying to find something that i would be able to use to enter a particular number of rows into the repeating table as&amp;nbsp;I know how many rows need to be added based on another field already within the form.&amp;nbsp; I have only managed to find how to add one line at a time on a button click.&amp;nbsp; Not sure if this is the best way to do this, but open to suggestions.&lt;/span&gt; 
&lt;p&gt;function btnAddRow::OnClick(eventObj) &lt;/p&gt;
&lt;p&gt;{ &lt;/p&gt;
&lt;p&gt;XDocument.View.ExecuteAction(&amp;quot;xCollection::insert&amp;quot;, &amp;quot;group4_1&amp;quot;);&lt;/p&gt;
&lt;p&gt;&amp;nbsp;}&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Anybody able to assist?&lt;/p&gt;</description></item></channel></rss>