<?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: Eval / Concat / Substring Nested Functions - InfoPath 2010</title><link>https://www.infopathdev.com:443/forums/thread/100549.aspx</link><pubDate>Fri, 19 Dec 2014 12:09:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100549</guid><dc:creator>Tughsol</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100549.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=100549</wfw:commentRss><description>&lt;p&gt;Think I almost have this sorted. I decided to build the formula bit by bit to try and test where I was going wrong - still not quite sure where I did go wrong!&lt;/p&gt;&lt;p&gt;I currently have the formula below: &lt;/p&gt;&lt;p&gt;eval(eval(REPEATING GROUP, &amp;#39;concat(substring(my:DATE[../my:SIG_BOX = string(false())], 9, 2), &amp;quot;/&amp;quot;, substring(my:DATE[../my:SIG_BOX = string(false())], 6, 2), &amp;quot; &amp;quot;, substring(my:DATE[../my:SIG_BOX = string(false())], 1, 4), &amp;quot; &lt;br /&gt;&amp;quot;)&amp;#39;), &amp;quot;..&amp;quot; &lt;/p&gt;&lt;p&gt;Where the value is False I then get the Dates listed as below:&lt;/p&gt;&lt;p&gt;19/12/2014&lt;/p&gt;&lt;p&gt;20/12/2014&lt;/p&gt;&lt;p&gt;21/12/2014&lt;/p&gt;&lt;p&gt;If one of the values for the SIG_BOX then changes to True it then removes the extracted date values but leaves the seperator forward slash. ie. If the SIG_BOX value for the 20/12/2014 changes to True but the others are still False I get:&lt;/p&gt;&lt;p&gt;19/12/2014&lt;/p&gt;&lt;p&gt;/ /&amp;nbsp;&lt;/p&gt;&lt;p&gt;21/12/2014 &lt;/p&gt;&lt;p&gt;Is anyone able to help with where I&amp;#39;m going wrong with this final bit?&lt;/p&gt;&lt;p&gt;Many thanks. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Eval / Concat / Substring Nested Functions - InfoPath 2010</title><link>https://www.infopathdev.com:443/forums/thread/100485.aspx</link><pubDate>Thu, 11 Dec 2014 16:40:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100485</guid><dc:creator>Tughsol</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100485.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=100485</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;Sorry if this has already been asked. I tried seraching the forum but couldnt find a similar post.&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have an InfoPath Form with a Repeating Table which contains a Date control and a Check Box.&amp;nbsp;&lt;/p&gt;&lt;p&gt;I need to perform a Concat on all of the Date fields where the Check Box is false / unchecked. This is a simple enough process using a combination of Eval and Concat but the issue I have is with the format of the actual Dates. They are displaying in YYYY-MM-DD - I may be wrong but I believe this is the standard format used by XML.&amp;nbsp;&lt;/p&gt;&lt;p&gt;In the past I have then used the Substring Function in order to extract the individual Day, Month, Year values and then Concat them together. I&amp;#39;m having a much harder time trying to nest this with the Eval function though. I think I&amp;#39;m pretty close (if this is even possible) but I think my syntax is a little off towards the end. What I have so far is as below where DATE and SIG_BOX are my fields:&lt;/p&gt;&lt;p&gt;eval(eval(DATE, &amp;#39;concat(substring(DATE[SIG_BOX = string(false())], 9, 2), &amp;quot;/&amp;quot;, substring(DATE[SIG_BOX = string(false())], 6, 2), &amp;quot;/&amp;quot;, substring(DATE[SIG_BOX = string(false())], 1, 4)), &amp;quot; &amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;&lt;/p&gt;&lt;p&gt;I have used these functions seperately numerous times before (even if I dont fully understand them) but never all 3 nested like this. Does anyone know where I might be going wrong here?&lt;/p&gt;&lt;p&gt;Thanks for any help you can give me.&lt;/p&gt;&lt;p&gt;&amp;nbsp; &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>