<?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: Problem with Expression Box formula</title><link>https://www.infopathdev.com:443/forums/thread/37875.aspx</link><pubDate>Fri, 30 Jan 2009 05:29:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37875</guid><dc:creator>swathip</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37875.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=37875</wfw:commentRss><description>&lt;p class="MsoNormal" style="MARGIN:0in 0in 10pt;"&gt;&lt;span style="FONT-SIZE:10pt;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;Hi,&lt;/span&gt;&lt;/p&gt;&lt;span style="FONT-SIZE:10pt;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;/span&gt;&amp;nbsp; 
&lt;p class="MsoNormal" style="MARGIN:0in 0in 10pt;"&gt;&lt;span style="FONT-SIZE:10pt;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;Try the following expression.&lt;/span&gt;&lt;/p&gt;&lt;span style="FONT-SIZE:10pt;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;/span&gt;&amp;nbsp;&lt;strong&gt;&lt;span style="FONT-WEIGHT:normal;FONT-SIZE:10pt;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-theme-font:minor-bidi;mso-bidi-font-weight:bold;"&gt;xdMath:Eval(., &amp;quot;(@Quantity - @LowestCompetitivePrice) div @LowestCompetitivePrice&amp;quot;)&lt;/span&gt;&lt;/strong&gt;&lt;span style="FONT-SIZE:10pt;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;/span&gt; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Problem with Expression Box formula</title><link>https://www.infopathdev.com:443/forums/thread/37870.aspx</link><pubDate>Fri, 30 Jan 2009 01:54:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37870</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37870.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=37870</wfw:commentRss><description>&lt;p&gt;I think the &amp;#39;/&amp;#39; is being misinterpreted. Put a space between &lt;strong&gt;@LowestCompetitivePrice) / @LowestCompetitivePrice &lt;/strong&gt;like so...&lt;/p&gt;</description></item><item><title>Problem with Expression Box formula</title><link>https://www.infopathdev.com:443/forums/thread/37857.aspx</link><pubDate>Thu, 29 Jan 2009 16:53:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37857</guid><dc:creator>clawrence</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37857.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=37857</wfw:commentRss><description>&lt;p&gt;I can&amp;#39;t get a formula I&amp;#39;m putting into my expression box to work.&lt;/p&gt;
&lt;p&gt;If I put it in like this &lt;strong&gt;xdMath:Eval(., &amp;quot;@Quantity - @LowestCompetitivePrice/@LowestCompetitivePrice&amp;quot;)&lt;/strong&gt; it works, but that&amp;#39;s not how I want the formula to work.&lt;/p&gt;
&lt;p&gt;I want this: &lt;strong&gt;xdMath:Eval(., &amp;quot;(@Quantity - @LowestCompetitivePrice)/@LowestCompetitivePrice&amp;quot;)&lt;/strong&gt;, but as soon as I put those paretheses in, I get the following error:&lt;/p&gt;
&lt;p&gt;msxml5.dll&lt;br /&gt;Expression must evaluate to a node-set.&lt;/p&gt;
&lt;p&gt;--&amp;gt;(@Quantity - @LowestCompetitivePrice)&amp;lt;&lt;a href="mailto:--/@LowestCompetitivePrice"&gt;--/@LowestCompetitivePrice&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Error occurred during a call to property or method &amp;#39;Eval&amp;#39;.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Can anyone help?&lt;/p&gt;</description></item></channel></rss>