<?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>Browser Forms</title><link>https://www.infopathdev.com:443/forums/40.aspx</link><description>For browser form specific questions</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: function/formula explanation</title><link>https://www.infopathdev.com:443/forums/thread/83654.aspx</link><pubDate>Fri, 19 Oct 2012 02:56:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83654</guid><dc:creator>Gennady Vanin (Геннадий Ванин, Новосибирск)</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83654.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=83654</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;cnorris135:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;/p&gt;&lt;p&gt;1.) substring(eval(eval((&lt;/p&gt;
&lt;p&gt;2.) . != &amp;quot;&amp;quot;], &amp;#39;concat(&amp;quot;, &amp;quot;, .)&amp;#39;), &amp;quot;..&amp;quot;), 3)&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;&lt;p&gt;substring(someString, 3) - takes substring starting from 3d one, i.e. truncates 2 first symbols&lt;/p&gt;&lt;p&gt;So, for example, the result of&amp;nbsp; substring(&amp;quot;123456789&amp;quot;, 3) will be 3456789&lt;/p&gt;&lt;p&gt; [.!= &amp;quot;&amp;quot;] means that previous fields in parenthesis are evaluated under condition (filtered) that the current field not blank &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Double eval trick is explained&amp;nbsp; in:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;h3 class="post-name" style="font-weight:normal;padding:0px;font-size:1.55em;margin:7px 0px 18px;border-bottom-width:1px;border-bottom-style:dashed;font-family:Calibri, Arial, Helvetica, sans-serif;font-style:normal;font-variant:normal;letter-spacing:normal;line-height:normal;orphans:2;text-align:left;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;&lt;a href="http://blogs.msdn.com/b/infopath/archive/2006/04/05/569338.aspx"&gt;Email Submit &amp;quot;To&amp;quot; line (loops in formulas)&lt;/a&gt;&lt;/h3&gt;&lt;/li&gt;&lt;/ul&gt;</description></item><item><title>function/formula explanation</title><link>https://www.infopathdev.com:443/forums/thread/83580.aspx</link><pubDate>Wed, 17 Oct 2012 20:28:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83580</guid><dc:creator>cnorris135</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83580.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=83580</wfw:commentRss><description>&lt;p&gt;awhile back I used this formula /&amp;nbsp; function explanation... but i never fully understood it and would like to now....&lt;/p&gt;
&lt;p&gt;&amp;nbsp;substring(eval(eval((AcrossGeneration | AnimalFeedingStudy | Bioefficacy | CEA | CEAProcessing | ConfinedFieldTrial | DeclineTrialACUP | DeclineTrialByproductsACUP | DetectionMethodMolecular | EfficacyCPRD | EnvironmentalFieldStudy | Expression | HerbicideTolerance | MagnitudeOfResidueACUP | MethodDevelopment | MolecularBridging | NatureOfResidueACUP | NTO | ProcessingACUP | ProteinEquivalency | RACByproductsTrialACUP | ReferenceMaterial | USDAAgronomicYieldTrials | WithinGeneration)[. != &amp;quot;&amp;quot;], &amp;#39;concat(&amp;quot;, &amp;quot;, .)&amp;#39;), &amp;quot;..&amp;quot;), 3)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;my field names are in the middle of course but I was hoping to understand the beginning and the ending parts because i am trying to use this again(with a lot more fields).....&amp;nbsp; But i keep getting an error that the field is not found....... &lt;/p&gt;
&lt;p&gt;1.) substring(eval(eval((&lt;/p&gt;
&lt;p&gt;2.) . != &amp;quot;&amp;quot;], &amp;#39;concat(&amp;quot;, &amp;quot;, .)&amp;#39;), &amp;quot;..&amp;quot;), 3)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;chris&lt;/p&gt;</description></item></channel></rss>