<?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: ignore duplicate text when concatenating with double eval</title><link>https://www.infopathdev.com:443/forums/thread/97481.aspx</link><pubDate>Wed, 14 May 2014 22:28:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:97481</guid><dc:creator>sposit</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/97481.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=97481</wfw:commentRss><description>&lt;p&gt;Double eval doesn&amp;#39;t seem to be the issue -- it&amp;#39;s the addition of the &lt;em&gt;[not(. = preceding::*)]&lt;/em&gt;. The Design Checker doesn&amp;#39;t actually say much of anything -- it only includes a couple items: 1) Data connections contain parameterized queries and 2) Could not verify the form template on the specified server. Strangely, when I revert back to the old version of the equation, the Design Checker then populates with a whole bunch of (mostly cosmetic) issues. The checker apparently can&amp;#39;t even review the form template (error #2) while the updated equation is in place.&lt;/p&gt;</description></item><item><title>Re: ignore duplicate text when concatenating with double eval</title><link>https://www.infopathdev.com:443/forums/thread/97459.aspx</link><pubDate>Tue, 13 May 2014 16:29:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:97459</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/97459.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=97459</wfw:commentRss><description>&lt;p&gt;Double eval is compatible with browser forms. What does the design checker say the issue is?&lt;/p&gt;</description></item><item><title>Re: ignore duplicate text when concatenating with double eval</title><link>https://www.infopathdev.com:443/forums/thread/97458.aspx</link><pubDate>Tue, 13 May 2014 16:21:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:97458</guid><dc:creator>sposit</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/97458.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=97458</wfw:commentRss><description>&lt;p&gt;Correction: I can&amp;#39;t seem to publish a web form with the formula above -- when publishing, I get an error that the form can only be published as a Filler form. Is this kind of formula not compatible with web forms? (This is in SharePoint Online, fwiw.) Thanks for any help you can provide.&lt;/p&gt;</description></item><item><title>Re: ignore duplicate text when concatenating with double eval</title><link>https://www.infopathdev.com:443/forums/thread/97350.aspx</link><pubDate>Wed, 07 May 2014 20:01:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:97350</guid><dc:creator>sposit</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/97350.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=97350</wfw:commentRss><description>&lt;p&gt;So I tried this: substring((eval(eval(FieldName[not(. = preceding::*)], &amp;#39;concat(., &amp;quot;; &amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;)), 0, (string-length(eval(eval(FieldName, &amp;#39;concat(., &amp;quot;; &amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;)) - 1)) &lt;/p&gt;&lt;p&gt;&amp;nbsp;enabled form ... is this formulation not allowed in browser forms?&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thanks,&lt;/p&gt;&lt;p&gt;&amp;nbsp;Tyler&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: ignore duplicate text when concatenating with double eval</title><link>https://www.infopathdev.com:443/forums/thread/97253.aspx</link><pubDate>Thu, 01 May 2014 17:58:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:97253</guid><dc:creator>sposit</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/97253.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=97253</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Jimmy, can you revisit this with a bit simpler example please? I don&amp;#39;t have the nested repeating fields, but still want to remove any duplicates. My aggregate formula looks like this:&lt;/p&gt;&lt;p&gt;substring((eval(eval(FieldName, &amp;#39;concat(., &amp;quot;; &amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;)), 0, (string-length(eval(eval(FieldName, &amp;#39;concat(., &amp;quot;; &amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;)) - 1))&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;(The substring is merely to remove the final semicolon.)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks in advance!&lt;/p&gt;&lt;p&gt;&amp;nbsp;Tyler&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: ignore duplicate text when concatenating with double eval</title><link>https://www.infopathdev.com:443/forums/thread/62282.aspx</link><pubDate>Tue, 14 Dec 2010 14:34:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62282</guid><dc:creator>rmsphoto</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62282.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=62282</wfw:commentRss><description>The sub-lists are formed in 9 different fields (representing work disciplines).  The user selects from a &amp;quot;people picker&amp;quot;, or from a fixed list for each discipline; and the same personnel may be selected for multiple disciplines.  Each of the nine sub-lists is built from using rules.  So I don&amp;#39;t think the double eval would work for those sub-lists...&lt;br /&gt;&lt;br /&gt;
Again, I really appreciate your taking the time to help!</description></item><item><title>Re: ignore duplicate text when concatenating with double eval</title><link>https://www.infopathdev.com:443/forums/thread/62266.aspx</link><pubDate>Tue, 14 Dec 2010 03:48:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62266</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62266.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=62266</wfw:commentRss><description>&lt;p&gt;Yes, I don&amp;#39;t think it&amp;#39;s going to be possible to come up with an expression to filter out duplicates from within the individual strings.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;How are the sub-lists getting formed?&amp;nbsp; Are you using a separate double-eval for each of those?&amp;nbsp; If so, it&amp;#39;s probably possible to formulate the main double-eval to concatenate all of the e-mails without first assembling them into sub-lists.&amp;nbsp; That would probably succeed in excluding all the duplicates.&lt;/p&gt;</description></item><item><title>Re: ignore duplicate text when concatenating with double eval</title><link>https://www.infopathdev.com:443/forums/thread/62262.aspx</link><pubDate>Mon, 13 Dec 2010 19:18:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62262</guid><dc:creator>rmsphoto</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62262.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=62262</wfw:commentRss><description>Very nice!  This works perfectly when each field is identical, but it does not seek and destroy individual duplicate email addresses that are nested among different strings that are concat&amp;#39;d.&lt;br /&gt;&lt;br /&gt;

e.g.&lt;br /&gt;
works when field1=&amp;quot;fred@email.com&amp;quot;, and field2 also = &amp;quot;fred@email.com&amp;quot;&lt;br /&gt;
result: fred@email.com&lt;br /&gt;&lt;br /&gt;

but does not work when field1=&amp;quot;fred@email.com; joe@email.com&amp;quot;, and field2=&amp;quot;rob@email.com; fred@email.com&amp;quot;
&lt;br /&gt;result:fred@email.com; joe@email.com; rob@email.com; fred@email.com (i.e. &amp;quot;fred@email.com&amp;quot; is still duplicated)&lt;br /&gt;&lt;br /&gt;

I think my request may not quite be feasible in a codeless world... Still - a very nice addition to the formula, that I will implement.&lt;br /&gt;&lt;br /&gt;

Thanks,</description></item><item><title>Re: ignore duplicate text when concatenating with double eval</title><link>https://www.infopathdev.com:443/forums/thread/62260.aspx</link><pubDate>Mon, 13 Dec 2010 18:38:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62260</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62260.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=62260</wfw:commentRss><description>&lt;p&gt;Please give this a&amp;nbsp;try&amp;nbsp;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;substring(eval(eval((EDG-EEEmail | EDG-MEEmail | EDG-DD1Email | EDG-PlasticsEmail | EDG-EETEmail | EDG-MTEmail | EDG-DD2Email | EDG-TWEmail)[. != &amp;quot;&amp;quot;]&lt;strong&gt;[not(. = preceding::*)]&lt;/strong&gt;, &amp;#39;concat(&amp;quot;; &amp;quot;, .)&amp;#39;), &amp;quot;..&amp;quot;), 3, 10000)&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;That is, add &lt;strong&gt;[not(. = preceding::*)]&lt;/strong&gt; after &lt;strong&gt;[. != &amp;quot;&amp;quot;]&lt;/strong&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: ignore duplicate text when concatenating with double eval</title><link>https://www.infopathdev.com:443/forums/thread/62257.aspx</link><pubDate>Mon, 13 Dec 2010 18:02:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62257</guid><dc:creator>rmsphoto</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62257.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=62257</wfw:commentRss><description>Here is the current double eval formula:&lt;br /&gt;&lt;br /&gt;

substring(eval(eval((EDG-EEEmail | EDG-MEEmail | EDG-DD1Email | EDG-PlasticsEmail | EDG-EETEmail | EDG-MTEmail | EDG-DD2Email | EDG-TWEmail)[. != &amp;quot;&amp;quot;], &amp;#39;concat(&amp;quot;; &amp;quot;, .)&amp;#39;), &amp;quot;..&amp;quot;), 3, 10000)&lt;br /&gt;&lt;br /&gt;

Note: Each of the fields in this formula, may have multiple emails within, separated by &amp;quot;; &amp;quot;.  These fields are built by straight rules.  This is how the final concat&amp;#39;d string may contain 20+ emails, with possible repeats... &lt;br /&gt;&lt;br /&gt;

example:&lt;br /&gt;
1) EDG-EEEmail = fred@email.com; joe@email.com; george@email.com&lt;br /&gt;
2) EDG-EETmail = jim@email.com; fred@email.com&lt;br /&gt;
3) EDG-TWemail=rob@email.com; fred@email.com&lt;br /&gt;&lt;br /&gt;

concat&amp;#39;d result = fred@email.com; joe@email.com, george@email.com; jim@email.com; fred@email.com; rob@email.com; fred@email.com&lt;br /&gt;&lt;br /&gt;

would like it to be instead = fred@email.com; joe@email.com, george@email.com; jim@email.com; rob@email.com&lt;br /&gt;&lt;br /&gt;

Thanks for your help!</description></item><item><title>Re: ignore duplicate text when concatenating with double eval</title><link>https://www.infopathdev.com:443/forums/thread/62247.aspx</link><pubDate>Mon, 13 Dec 2010 15:47:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62247</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62247.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=62247</wfw:commentRss><description>&lt;p&gt;Could you show us what your formula is right now?&amp;nbsp; I think I&amp;#39;ve found a way to accomplish this.&lt;/p&gt;</description></item><item><title>Re: ignore duplicate text when concatenating with double eval</title><link>https://www.infopathdev.com:443/forums/thread/62243.aspx</link><pubDate>Mon, 13 Dec 2010 15:00:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62243</guid><dc:creator>rmsphoto</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62243.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=62243</wfw:commentRss><description>I appreciate your taking the time to think about this, and post a reply.  (Luckily, even with the same address listed multiple times, the user only receives a single email. - So it&amp;#39;s not a biggie, anyway...)  Thanks, again,</description></item><item><title>Re: ignore duplicate text when concatenating with double eval</title><link>https://www.infopathdev.com:443/forums/thread/62238.aspx</link><pubDate>Mon, 13 Dec 2010 13:47:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62238</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62238.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=62238</wfw:commentRss><description>&lt;p&gt;Hi RMSPhoto,&lt;/p&gt;
&lt;p&gt;There&amp;#39;s no way to filter out duplicates in the double eval. You may be able to filter them out in the form though by creating a separate hidden repeater that you set with the values of the first one. I can&amp;#39;t think of how to do this right now, but there may be a way to limit it to unique values using rules. That&amp;#39;s all I can think of though.&lt;/p&gt;</description></item><item><title>ignore duplicate text when concatenating with double eval</title><link>https://www.infopathdev.com:443/forums/thread/62070.aspx</link><pubDate>Wed, 08 Dec 2010 19:14:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62070</guid><dc:creator>rmsphoto</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62070.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=62070</wfw:commentRss><description>I have applied learning from the previous post
http://www.infopathdev.com/forums/t/16943.aspx
to concatenate several fields - works beautifully!

But here&amp;#39;s my new catch:

This function is building a list of email address from various fields - up to 20+ recipients.  It is very possible that the user will select the same person for several roles, therefore adding the same email to the string multiple times.  Is there a way to prevent/ignore/remove duplicated field data in the final concatenated string?

Thanks for any help,</description></item></channel></rss>