<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Concatenating 2 repeating tables using ; if they contain data</title><link>https://www.infopathdev.com:443/forums/thread/95966.aspx</link><pubDate>Tue, 18 Feb 2014 14:56:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:95966</guid><dc:creator>zxkuqyb</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/95966.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=95966</wfw:commentRss><description>&lt;p&gt;Great Post!&amp;nbsp; Thanks for the formula above.&amp;nbsp; I was looking for the exact same functionality and your solution worked perfectly for my situation.&lt;/p&gt;&lt;p&gt;Thomas N. Barrett&lt;/p&gt;</description></item><item><title>Re: Concatenating 2 repeating tables using ; if they contain data</title><link>https://www.infopathdev.com:443/forums/thread/85227.aspx</link><pubDate>Tue, 11 Dec 2012 14:05:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85227</guid><dc:creator>tuck411</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85227.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=85227</wfw:commentRss><description>Hi Jimmy i got it working in the end by using the below formula.

substring(eval(eval(Users[. != &amp;quot;&amp;quot;] | AdditionalUsers[. != &amp;quot;&amp;quot;], &amp;#39;concat(&amp;quot;; &amp;quot;, .)&amp;#39;), &amp;quot;..&amp;quot;), 2)

If i used your formula the it would merge together the two data sources and break their independent links.

Thanks for you help.

Rich</description></item><item><title>Re: Concatenating 2 repeating tables using ; if they contain data</title><link>https://www.infopathdev.com:443/forums/thread/85151.aspx</link><pubDate>Fri, 07 Dec 2012 04:26:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85151</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85151.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=85151</wfw:commentRss><description>substring(eval(eval((Users | AdditionalUsers)[. != &amp;quot;&amp;quot;], &amp;#39;concat(&amp;quot;; &amp;quot;, .)&amp;#39;), &amp;quot;..&amp;quot;), 2)</description></item><item><title>Re: Concatenating 2 repeating tables using ; if they contain data</title><link>https://www.infopathdev.com:443/forums/thread/85148.aspx</link><pubDate>Thu, 06 Dec 2012 22:51:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85148</guid><dc:creator>tuck411</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85148.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=85148</wfw:commentRss><description>&lt;p&gt;That works great thanks Jimmy, i&amp;#39;m 99% there, the only problem now is that if i have a blank repeating dropdown group it still puts in a &amp;quot;;&amp;quot; in the concat field, it isn&amp;#39;t until you delete the repeating group that the preceeding &amp;quot;;&amp;quot; disappears. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;I think that is clear.&lt;/p&gt;&lt;p&gt;Cheers,&lt;/p&gt;&lt;p&gt;Rich &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Concatenating 2 repeating tables using ; if they contain data</title><link>https://www.infopathdev.com:443/forums/thread/85147.aspx</link><pubDate>Thu, 06 Dec 2012 21:37:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85147</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85147.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=85147</wfw:commentRss><description>&lt;p&gt;How about this:&lt;/p&gt;&lt;p&gt;substring(eval(eval(Users | AdditionalUsers, &amp;#39;concat(&amp;quot;; &amp;quot;, .)&amp;#39;), &amp;quot;..&amp;quot;), 2)&lt;/p&gt;</description></item><item><title>Concatenating 2 repeating tables using ; if they contain data</title><link>https://www.infopathdev.com:443/forums/thread/85132.aspx</link><pubDate>Thu, 06 Dec 2012 17:26:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85132</guid><dc:creator>tuck411</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85132.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=85132</wfw:commentRss><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;I have got 2 repeating tables which i am using Eval and Concat to calculate their value into a single line file.&lt;/p&gt;
&lt;p&gt;However now i need to combine both of these concatenated values together into a single text field depending on if they have data in them,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;So far i have.&lt;/p&gt;
&lt;p&gt;Repeating table values 1 - substring(eval(eval(Users, &amp;#39;concat(&amp;quot;; &amp;quot;, .)&amp;#39;), &amp;quot;..&amp;quot;), 2)&lt;/p&gt;
&lt;p&gt;Repeating table&amp;nbsp;values 2 - substring(eval(eval(AdditionalUsers, &amp;#39;concat(&amp;quot;; &amp;quot;, .)&amp;#39;), &amp;quot;..&amp;quot;), 2)&lt;/p&gt;
&lt;p&gt;My Current Calculation:&lt;/p&gt;
&lt;p&gt;concat(substring(eval(eval(Users, &amp;#39;concat(&amp;quot;; &amp;quot;, .)&amp;#39;), &amp;quot;..&amp;quot;), 2), substring(eval(eval(AdditionalUsers, &amp;#39;concat(&amp;quot;; &amp;quot;, .)&amp;#39;), &amp;quot;..&amp;quot;), 2), &amp;quot;;&amp;quot;)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This combines both of the above fields but places a &amp;#39;;&amp;#39; in the field even if &amp;#39;Repeating Values 2&amp;#39; is blank. &lt;/p&gt;
&lt;p&gt;How can i have it so that it only puts a &amp;#39;;&amp;#39; in to seperate the values if &amp;#39;Repeating Values 2&amp;#39; is not blank&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I am using Infopath 2003.&lt;/p&gt;
&lt;p&gt;Thanks in advance,&lt;/p&gt;
&lt;p&gt;Rich&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>