<?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>Data Connections</title><link>https://www.infopathdev.com:443/forums/44.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: resolve repeating table emails in data connection conditionally</title><link>https://www.infopathdev.com:443/forums/thread/38184.aspx</link><pubDate>Fri, 06 Feb 2009 22:03:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:38184</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/38184.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=38184</wfw:commentRss><description>&lt;p&gt;Here&amp;#39;s a trick: have TWO xpaths in the repeating table for the email. Call them &lt;strong&gt;my:EmailStored&lt;/strong&gt; and &lt;strong&gt;my:EmailSend&lt;/strong&gt;. You don&amp;#39;t have to show them both in the view.&lt;/p&gt;
&lt;p&gt;In &lt;strong&gt;my:EmailStored&lt;/strong&gt;, you store &lt;u&gt;ALL&lt;/u&gt; emails.&lt;/p&gt;
&lt;p&gt;In &lt;strong&gt;my:EmailSend&lt;/strong&gt;, you store &lt;u&gt;ONLY&lt;/u&gt; the emails for the rows where &lt;em&gt;your directly-related text box in the repeating table is blank&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;Then &lt;em&gt;eval(eval(REPEATINGTABLE, &amp;#39;concat(&lt;strong&gt;my:EmailSend&lt;/strong&gt;, &amp;quot;;&amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;And voilá.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: resolve repeating table emails in data connection conditionally</title><link>https://www.infopathdev.com:443/forums/thread/38181.aspx</link><pubDate>Fri, 06 Feb 2009 21:06:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:38181</guid><dc:creator>jtravism</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/38181.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=38181</wfw:commentRss><description>&lt;p&gt;Still having trouble, working on my function, resolving NO emails testing 3 repeating entries with the first failing the condition (Resolution provided)&amp;nbsp;and the second 2 meeting it (both blank)! does it modify the function if my condition is in a subordinate section within the repeating table?&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;RepeatingTable&lt;/div&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Task&lt;/div&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Resolution (sub section with resolution condition isblank do not resolve Email)&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;li&gt;
&lt;div&gt;Email&amp;nbsp;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;
&lt;p&gt;Here is what I can gather from the other page -- added a not() to my condition. Keep in mind I was stretching my skills to find the nested eval! &lt;/p&gt;
&lt;p&gt;eval(eval(&lt;u&gt;RepeatingTable&lt;/u&gt;, &amp;#39;substring(concat(my:Email, &amp;quot;;&amp;quot;), 1, (my:Resolution = string(not(true()))) * string-length(concat(my:Email, &amp;quot;;&amp;quot;)))&amp;#39;), &amp;quot;..&amp;quot;)&lt;/p&gt;
&lt;p&gt;My head is spinning!&lt;/p&gt;</description></item><item><title>Re: resolve repeating table emails in data connection conditionally</title><link>https://www.infopathdev.com:443/forums/thread/38177.aspx</link><pubDate>Fri, 06 Feb 2009 19:54:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:38177</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/38177.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=38177</wfw:commentRss><description>&lt;p&gt;A great explanation has been posted &lt;a href="http://www.infopathdev.com/forums/p/7124/30263.aspx#30263"&gt;here&lt;/a&gt;. Please read it, see if it helps. If you are still stuck, post back, okay?&lt;/p&gt;</description></item><item><title>resolve repeating table emails in data connection conditionally</title><link>https://www.infopathdev.com:443/forums/thread/38175.aspx</link><pubDate>Fri, 06 Feb 2009 18:58:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:38175</guid><dc:creator>jtravism</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/38175.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=38175</wfw:commentRss><description>&lt;p&gt;Hi!&lt;br /&gt;&lt;br /&gt;I am using a pair of evals to resolve all emails in a repeating table in the recipient line of an email&amp;nbsp;data connection:&lt;br /&gt;&lt;font face="Calibri"&gt;&lt;font face="Verdana"&gt;&amp;nbsp;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Calibri"&gt;&lt;font face="Verdana"&gt;eval(eval(&lt;u&gt;REPEATINGTABLE&lt;/u&gt;, &amp;#39;concat(my:EMAILRECIPIENT, &amp;quot;;&amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;)&lt;br /&gt;&lt;br /&gt;It works well (though I hear rumors&amp;nbsp;of trouble after line 125). BUT, I need to resolve the emails only if a directly-related text box in the repeating table is blank. I understand the conditional formula as:&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;font face="Verdana"&gt;concat(substring(&lt;u&gt;EMAILRECIPIENT&lt;/u&gt;,1,(&lt;u&gt;CONDITIONALFIELD&lt;/u&gt;=&amp;quot;&amp;quot;)*string-length(&lt;u&gt;EMAILRECIPIENT&lt;/u&gt;)),(&amp;quot;&amp;quot;,1,(not(&lt;u&gt;CONDITIONAL FIELD&lt;/u&gt;=&amp;quot;&amp;quot;)*string-length(&amp;quot;&amp;quot;)))&lt;br /&gt;&lt;br /&gt;but am totally lost on how I can marry the two. Please HELP!!&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;</description></item></channel></rss>