<?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: Concat Repeating SQL Data</title><link>https://www.infopathdev.com:443/forums/thread/76274.aspx</link><pubDate>Mon, 12 Mar 2012 13:21:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76274</guid><dc:creator>dannylam4</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76274.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=76274</wfw:commentRss><description>Oooo, that makes sense. Awesome, everything worked out. Thanks!</description></item><item><title>Re: Concat Repeating SQL Data</title><link>https://www.infopathdev.com:443/forums/thread/76247.aspx</link><pubDate>Fri, 09 Mar 2012 17:41:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76247</guid><dc:creator>Anson Hidajat</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76247.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=76247</wfw:commentRss><description>&lt;p&gt;You&amp;#39;ll need to create a repeating control (table or section) that is bound to the secondary data connection.&amp;nbsp; Then inside the repeating control you can create a calculated value control whose value is the concat of those 2 fields that you mentioned.&amp;nbsp; That should allow the data to repeat rather than only give you the first row.&lt;/p&gt;&lt;p&gt;Eval only works for when you want to concat repeating data into a single line of text, which I don&amp;#39;t believe is what you want.&lt;/p&gt;</description></item><item><title>Concat Repeating SQL Data</title><link>https://www.infopathdev.com:443/forums/thread/76175.aspx</link><pubDate>Wed, 07 Mar 2012 18:44:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76175</guid><dc:creator>dannylam4</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76175.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=76175</wfw:commentRss><description>Hey there,

I feel like this question has been asked and answered already, but I couldn&amp;#39;t really find anything. I&amp;#39;m looking to concat two dataFields pulled in from SQL into a single text field. It&amp;#39;s simply grabbing a Site and their Comments all into one field, but the two fields are repeating data. When I try and do a standard 

concat(../dfs:dataFields/d:program/@Site, &amp;quot; - &amp;quot;, ../dfs:dataFields/d:program/@comments)

The data won&amp;#39;t repeat the data even if placed in a repeating section. I&amp;#39;m expecting something like:

PA - These are my comments
NY - Here are my comments

But I&amp;#39;m just getting 

PA - These are my comments
PA - These are my comments

I saw some topics using eval with concat, but I wasn&amp;#39;t sure what the purpose of that was. Thanks!</description></item></channel></rss>