<?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: Concatenate field from repeating section</title><link>https://www.infopathdev.com:443/forums/thread/83188.aspx</link><pubDate>Wed, 03 Oct 2012 15:48:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83188</guid><dc:creator>sabroes</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83188.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=83188</wfw:commentRss><description>Thank you - that worked perfectly.</description></item><item><title>Re: Concatenate field from repeating section</title><link>https://www.infopathdev.com:443/forums/thread/83174.aspx</link><pubDate>Wed, 03 Oct 2012 05:32:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83174</guid><dc:creator>Gennady Vanin (Геннадий Ванин, Новосибирск)</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83174.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=83174</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;There are infinite amount of ways how to screw things and usually one (or quite a few) how to make it correctly.&lt;/p&gt;&lt;p&gt;Probably you should&amp;nbsp; have checked the original article on double evaluation:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&amp;nbsp;&lt;a href="http://blogs.msdn.com/b/infopath/archive/2006/04/05/569338.aspx" title="The official Microsoft Infopath blog article on double evaluation"&gt;Email Submit &amp;quot;To&amp;quot; line (loops in formulas)&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Enclosed please find Infopath XSN template (file) in attachment to this post:&lt;br /&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Concatenate field from repeating section (double eval expression trick).xsn &lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;for your case. I have inserted defaults to facilitate testing which you might want to delete &lt;/p&gt;&lt;p&gt;&amp;nbsp;Note that formula is:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;eval(eval(&lt;u&gt;group2&lt;/u&gt;; &amp;#39;concat(my:DepartmentCode, &amp;quot; , &amp;quot;)&amp;#39;); &amp;quot;..&amp;quot;)&lt;/li&gt;&lt;li&gt;and upon &lt;b&gt;Edit XPath expression (advanced) &lt;/b&gt;checkbox checked, it would appear as:&lt;br /&gt;xdMath:Eval(xdMath:Eval(../my:group1/my:group2, &amp;#39;concat(my:DepartmentCode, &amp;quot; , &amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;)&lt;/li&gt;&lt;/ul&gt;and, while &lt;u&gt;group2&lt;/u&gt; is chosen through&amp;nbsp; &amp;quot;Insert field or group...&amp;quot; button (&amp;quot;Insert Formula&amp;quot; (fx) dialog box), the my:DepartmentCode is typed/entered through keyboard.&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Concatenate field from repeating section</title><link>https://www.infopathdev.com:443/forums/thread/83172.aspx</link><pubDate>Tue, 02 Oct 2012 21:56:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83172</guid><dc:creator>sabroes</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83172.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=83172</wfw:commentRss><description>Hi,


I have been trying to concatenate the output of a field from a repeating section (not a repeating table - but a repeating section) to a single text field outside the table. The structure of the fields in question is such:


myFields 
&amp;gt; group1 
&amp;gt;&amp;gt; group2(repeating section) 
&amp;gt;&amp;gt;&amp;gt; DepartmentCode 


So, within the repeating section - group2 - there is a field - Department Code - that I want to concatenate the output of.)


I&amp;#39;ve been searching out other formulas and have tried numerous ones but none are working, however might it have something to do with the fact that its a repeating section and not a repeating table? 


I&amp;#39;ve tried the formula in this posting: http://social.technet.microsoft.com/Forums/en/sharepoint2010customization/thread/4d65ac67-e020-4150-8613-ba0909d4f0bf but receive the error message of: Type mismatch. Error occurred during a call to property or method &amp;#39;Eval&amp;#39;.</description></item></channel></rss>