<?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>InfoPath</title><link>https://www.infopathdev.com:443/forums/170.aspx</link><description>For questions on using InfoPath in Office 365</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Double Eval Concat not adding coma or semi colon</title><link>https://www.infopathdev.com:443/forums/thread/99323.aspx</link><pubDate>Mon, 29 Sep 2014 16:45:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:99323</guid><dc:creator>jbbaldwin</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/99323.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=170&amp;PostID=99323</wfw:commentRss><description>Good Afternoon Everyone,

I&amp;#39;m relatively new to InfoPath development but was able to find some older articles about using a double eval statement along with concat to combine data from a repeating group and field.  

Under Fields I have a group called Customer and under that group I have a repeating group called Orders with a repeating field called OrderID.  Below is the calculation that I&amp;#39;m using which combines the data from the repeating field but only puts the , at the end of the string.

eval(eval(.., &amp;#39;concat(., &amp;quot;, &amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;)

Here is an example of the output: ORD1 ORD2ORD3, 

If you notice there is a space between the first two orders but then no space with a coma at the end.  I know I had this working but now it doesn&amp;#39;t and I&amp;#39;m at a lose and my search has revealed little information on this so I hope someone can help me out!

Thanks,

Jody</description></item></channel></rss>