<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Adding rows from list to repeating table</title><link>https://www.infopathdev.com:443/forums/thread/102219.aspx</link><pubDate>Mon, 20 Apr 2015 03:22:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:102219</guid><dc:creator>Manju</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/102219.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=102219</wfw:commentRss><description>Hi Hilary,

How to do the same thing in sharepoint list template.
Is it possible to do in sharepoint list.
If so can u attach the template.

Waiting for ur reply.

Thanks &amp;amp; regards,
Manju</description></item><item><title>Re: Adding rows from list to repeating table</title><link>https://www.infopathdev.com:443/forums/thread/102163.aspx</link><pubDate>Wed, 15 Apr 2015 08:05:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:102163</guid><dc:creator>GuyBoswell</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/102163.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=102163</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;We are using cloud solution for SharePoint and have no ability to load code :-(&lt;/p&gt;</description></item><item><title>Re: Adding rows from list to repeating table</title><link>https://www.infopathdev.com:443/forums/thread/102084.aspx</link><pubDate>Thu, 09 Apr 2015 14:07:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:102084</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/102084.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=102084</wfw:commentRss><description>&lt;p&gt;InfoPath freaks all of us out sometimes. :)&lt;/p&gt;
&lt;p&gt;So - I&amp;#39;ve seen this bug before, generally if the schema changes. I check my formulas that are like this and have &amp;quot;current()&amp;quot; in them when I add a field to the main data source....&lt;/p&gt;</description></item><item><title>Re: Adding rows from list to repeating table</title><link>https://www.infopathdev.com:443/forums/thread/102083.aspx</link><pubDate>Thu, 09 Apr 2015 10:40:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:102083</guid><dc:creator>GuyBoswell</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/102083.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=102083</wfw:commentRss><description>&lt;p&gt;Thank you so much for all your help Hilary. I&amp;#39;ll have to work through the code solution another time.&lt;/p&gt;&lt;p&gt;InfoPath freaks me out sometimes.&amp;nbsp; The filter [count(current()/../preceding-sibling::my:group2) + 1] keeps changing to [count(/../preceding-sibling::my:group2) + 1] when I do something completely unrelated.&amp;nbsp; Fields that don&amp;#39;t appear on the repeating table or even on the same view seem to be able to influence the function.&amp;nbsp; Totally bizarre!&amp;nbsp; It took me hours to figure out what was happening.&amp;nbsp; I know now to just rebuild that function as the last thing I do before I publish the form each time but it is a right pain.&lt;/p&gt;</description></item><item><title>Re: Adding rows from list to repeating table</title><link>https://www.infopathdev.com:443/forums/thread/102076.aspx</link><pubDate>Wed, 08 Apr 2015 14:26:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:102076</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/102076.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=102076</wfw:commentRss><description>&lt;p&gt;So - I added rows to my sample and then changed the data connection to include more items and was able to reproduce something similar. So yes, it appears that InfoPath forms services is pickier about this than the filler - sorry this isn&amp;#39;t going to work for you in your browser form!&lt;/p&gt;
&lt;p&gt;If you decide to use code (or you can use qRules) here is some info on admin approving a template:https://support.office.com/en-za/article/Introduction-to-browser-compatible-form-templates-7a6e40ff-eb1d-4311-945d-169857d340af?ui=en-US&amp;amp;rs=en-ZA&amp;amp;ad=ZA&amp;amp;fromAR=1&lt;/p&gt;
&lt;p&gt;Here is some info on sandboxing: &lt;a href="https://msdn.microsoft.com/en-us/library/office/ee526360.aspx"&gt;https://msdn.microsoft.com/en-us/library/office/ee526360.aspx&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: Adding rows from list to repeating table</title><link>https://www.infopathdev.com:443/forums/thread/102071.aspx</link><pubDate>Wed, 08 Apr 2015 12:12:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:102071</guid><dc:creator>GuyBoswell</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/102071.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=102071</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;InfoPath limits how many values can be updated without manual intervention to less than 16.&lt;/p&gt;&lt;p&gt;The default value Hilary provided is one value.&amp;nbsp; Each time it causes a row to be added it updates one value.&amp;nbsp; So it gets to 15 rows OK and then stops.&amp;nbsp; It is quite happy to let the user keep adding more rows one at a time, the calculation still works correctly each time.&amp;nbsp; But because there is a manual intervention to add a row the count of operations sets back to zero.&lt;/p&gt;&lt;p&gt;I was hitting the error before I got to 15 because I had another field on the row that calculated the total of the row.&amp;nbsp; So adding one row caused two values to update.&amp;nbsp; So the 16 limit was hit if I added eight rows.&lt;/p&gt;&lt;p&gt;So now I understand the problem,&amp;nbsp; And I can increase the limit to 15 by stopping the total calculating automatically, instead setting it to calculate only when a value on the row changes.&lt;/p&gt;&lt;p&gt;But 15 is still the maximum number of rows I can add automatically.&lt;/p&gt;&lt;p&gt;Unless anyone knows a way to change that maximum?&lt;/p&gt;</description></item><item><title>Re: Adding rows from list to repeating table</title><link>https://www.infopathdev.com:443/forums/thread/102069.aspx</link><pubDate>Tue, 07 Apr 2015 20:16:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:102069</guid><dc:creator>GuyBoswell</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/102069.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=102069</wfw:commentRss><description>Hi Hilary,
I&amp;#39;ve actually got the data connection set to query only on update of another field which selects the rows available in the list.  So the form opens OK.  I only get the error when I run the query.
Guy
***
Right, I just tried amending the data connection to query automatically.  Without a filter set the query goes in to an infinite loop.  When I OK on the error message it successfully displays eight rows from the list in the repeating table.

I took out the reference to the secondary data source in the repeating table and instead added another repeating table just to display the list.  It now opens without error and displays all sixty odd rows of the list in the second repeating table.  Of course it doesn&amp;#39;t display the values from the list in the original table, just eight blank rows as per the defaults.

So something about the query of the table and the repeating table together forces the count way up high and causes errors once I get to eight rows in the repeating table.</description></item><item><title>Re: Adding rows from list to repeating table</title><link>https://www.infopathdev.com:443/forums/thread/102066.aspx</link><pubDate>Tue, 07 Apr 2015 16:29:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:102066</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/102066.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=102066</wfw:commentRss><description>&lt;p&gt;You get the error on form open? Are there any other rules running off the field with the default value? I&amp;#39;ll check my sample in our environment later today and see if the same issue reproduces for me.&lt;/p&gt;</description></item><item><title>Re: Adding rows from list to repeating table</title><link>https://www.infopathdev.com:443/forums/thread/102065.aspx</link><pubDate>Tue, 07 Apr 2015 16:23:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:102065</guid><dc:creator>GuyBoswell</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/102065.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=102065</wfw:commentRss><description>&lt;p&gt;Hi Hilary, sorry but the wedding is off.&lt;/p&gt;&lt;p&gt;Firstly, I am married :-)&lt;/p&gt;&lt;p&gt;Secondly, your solution works up to seven rows but if I add an eighth default row I get an error,&lt;/p&gt;&lt;p&gt;&amp;quot;An error occurred in the form&amp;#39;s code. The number of calls to the Changed event for a single update in the data exceeded the maximum limit.&amp;quot;&lt;/p&gt;&lt;p&gt;It works fine in preview.&amp;nbsp; I have added up to 20 default rows with no problems.&amp;nbsp; Even though the preview is pulling data on the same data connections from the same SharePoint list.&lt;/p&gt;&lt;p&gt;But once published and opened in browser it always works with seven or less default rows and always fails with eight or more default rows.&lt;/p&gt;&lt;p&gt;Any ideas?&lt;/p&gt;&lt;p&gt;Thank you so much :-)&lt;/p&gt;</description></item><item><title>Re: Adding rows from list to repeating table</title><link>https://www.infopathdev.com:443/forums/thread/102063.aspx</link><pubDate>Tue, 07 Apr 2015 15:34:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:102063</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/102063.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=102063</wfw:commentRss><description>&lt;p&gt;Hmmmmm.... the second bit makes me think you figured it out? The filter is the square brackets and the stuff inside... :)&lt;/p&gt;</description></item><item><title>Re: Adding rows from list to repeating table</title><link>https://www.infopathdev.com:443/forums/thread/102062.aspx</link><pubDate>Tue, 07 Apr 2015 15:25:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:102062</guid><dc:creator>GuyBoswell</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/102062.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=102062</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Which bit is the filter?&amp;nbsp; Where do I add it?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Ahhhhh!&amp;nbsp; Hilary, I love you.&amp;nbsp; I am a complete idiot but please marry me :-)&lt;/p&gt;</description></item><item><title>Re: Adding rows from list to repeating table</title><link>https://www.infopathdev.com:443/forums/thread/102060.aspx</link><pubDate>Tue, 07 Apr 2015 15:18:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:102060</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/102060.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=102060</wfw:commentRss><description>&lt;p&gt;current() is an XPath function, yes. It refers to the current node. I selected the checkbox to edit XPath in the formula and manually added the filter of [count(current()/../preceding-sibling::my:group2) + 1] &lt;/p&gt;
&lt;p&gt;So, select the field that has the value you want from your secondary data source, then click the checkbox to edit the XPath, and manually add the filter. If the field with the default value is in your repeating group, all you should have to change is &amp;quot;my:group2&amp;quot; to be the name for your repeating group.&lt;/p&gt;</description></item><item><title>Re: Adding rows from list to repeating table</title><link>https://www.infopathdev.com:443/forums/thread/102058.aspx</link><pubDate>Tue, 07 Apr 2015 14:44:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:102058</guid><dc:creator>GuyBoswell</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/102058.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=102058</wfw:commentRss><description>&lt;p&gt;Nope!&amp;nbsp; Can&amp;#39;t work that out at all???&amp;nbsp; If I touch food in food[count(current()/../preceding-sibling::group2) + 1]/name the whole thing falls apart.&amp;nbsp; Is current() supposed to be a function?&amp;nbsp; It isn&amp;#39;t on the function list.&amp;nbsp; What is this text made up of?&amp;nbsp; Because it isn&amp;#39;t just text because I can&amp;#39;t edit it character by character.&lt;/p&gt;</description></item><item><title>Re: Adding rows from list to repeating table</title><link>https://www.infopathdev.com:443/forums/thread/102056.aspx</link><pubDate>Tue, 07 Apr 2015 14:32:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:102056</guid><dc:creator>GuyBoswell</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/102056.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=102056</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hilary,&lt;/p&gt;&lt;p&gt;Thank you.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Code just not an option.&amp;nbsp; Sandbox??&amp;nbsp; I am admin but I can&amp;#39;t approve anything.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Preceding-sibling.&amp;nbsp; Great!&amp;nbsp; Where do you get this stuff?&amp;nbsp; I can see it works but I can&amp;#39;t for the life of me find anywhere that explains why?&amp;nbsp; Which makes modifying it to match our actual data structure a whole lot of trial and error.&lt;/p&gt;</description></item><item><title>Re: Adding rows from list to repeating table</title><link>https://www.infopathdev.com:443/forums/thread/102054.aspx</link><pubDate>Tue, 07 Apr 2015 14:14:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:102054</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/102054.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=102054</wfw:commentRss><description>&lt;p&gt;So - do you get an error message when you add code to the form and try to publish to the library? I&amp;#39;m guessing the sandbox service may not be running on your form. Browser forms can have code and be published either directly to the library if the sandbox service is running, or can be admin approved if not.&lt;/p&gt;
&lt;p&gt;Usually I use a count of preceding-sibling. See attached. Save the form locally, right click and select design, then preview.&lt;/p&gt;</description></item></channel></rss>