<?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: Sum of Calculated Field</title><link>https://www.infopathdev.com:443/forums/thread/68296.aspx</link><pubDate>Mon, 11 Jul 2011 13:53:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:68296</guid><dc:creator>IT_GIRL</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/68296.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=68296</wfw:commentRss><description>&lt;p&gt;Here is a snapshot of what I&amp;#39;m actually doing. There is also a Total field which should sum the price. Price is an actual field that is calculated using quantity and unit price&lt;/p&gt;&lt;table style="border:currentColor;width:626px;border-collapse:collapse;table-layout:fixed;word-wrap:break-word;" class="xdLayout"&gt;













&lt;tr style="min-height:7.5pt;"&gt;
&lt;td&gt;
&lt;div align="center"&gt;&lt;font style="font-size:9pt;" face="Abadi MT Condensed"&gt;&lt;strong&gt;Quantity&lt;/strong&gt;&lt;/font&gt;&lt;/div&gt;&lt;/td&gt;
&lt;td style="border-top-width:1pt;border-bottom-width:1pt;border-left-width:1pt;border-top-style:solid;border-bottom-style:solid;border-left-style:solid;" colspan="3"&gt;
&lt;div align="center"&gt;&lt;font style="font-size:10pt;" face="Abadi MT Condensed"&gt;&lt;strong&gt;Description&lt;/strong&gt;&lt;/font&gt;&lt;/div&gt;&lt;/td&gt;
&lt;td style="border-top-width:1pt;border-bottom-width:1pt;border-top-style:solid;border-bottom-style:solid;"&gt;
&lt;div align="center"&gt;&lt;font style="font-size:10pt;" face="Abadi MT Condensed"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/font&gt; &lt;/div&gt;&lt;/td&gt;
&lt;td style="border-top-width:1pt;border-bottom-width:1pt;border-top-style:solid;border-bottom-style:solid;"&gt;
&lt;div align="center"&gt;&lt;font style="font-size:10pt;" face="Abadi MT Condensed"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/font&gt; &lt;/div&gt;&lt;/td&gt;
&lt;td style="border-top-width:1pt;border-right-width:1pt;border-bottom-width:1pt;border-top-style:solid;border-right-style:solid;border-bottom-style:solid;"&gt;
&lt;div align="center"&gt;&lt;font style="font-size:10pt;" face="Abadi MT Condensed"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/font&gt; &lt;/div&gt;&lt;/td&gt;
&lt;td&gt;
&lt;div align="center"&gt;&lt;font style="font-size:10pt;" face="Abadi MT Condensed"&gt;&lt;strong&gt;Department&lt;/strong&gt;&lt;/font&gt;&lt;/div&gt;&lt;/td&gt;
&lt;td&gt;
&lt;div align="center"&gt;&lt;font style="font-size:10pt;" face="Abadi MT Condensed"&gt;&lt;strong&gt;Acct. Code&lt;/strong&gt;&lt;/font&gt;&lt;/div&gt;&lt;/td&gt;
&lt;td&gt;
&lt;div align="center"&gt;&lt;font style="font-size:10pt;" face="Abadi MT Condensed"&gt;&lt;strong&gt;Unit Price&lt;/strong&gt;&lt;/font&gt;&lt;/div&gt;&lt;/td&gt;
&lt;td&gt;
&lt;div align="center"&gt;&lt;font style="font-size:10pt;" face="Abadi MT Condensed"&gt;&lt;strong&gt;Price&lt;/strong&gt;&lt;/font&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="min-height:3.75pt;"&gt;
&lt;td&gt;
&lt;div align="center"&gt; &lt;/div&gt;&lt;/td&gt;
&lt;td style="border-top-width:1pt;border-bottom-width:1pt;border-left-width:1pt;border-top-style:solid;border-bottom-style:solid;border-left-style:solid;"&gt;
&lt;div&gt; &lt;/div&gt;&lt;/td&gt;
&lt;td style="border-top-width:1pt;border-bottom-width:1pt;border-top-style:solid;border-bottom-style:solid;"&gt;
&lt;div&gt; &lt;/div&gt;&lt;/td&gt;
&lt;td style="border-top-width:1pt;border-bottom-width:1pt;border-top-style:solid;border-bottom-style:solid;"&gt;
&lt;div&gt;&lt;font style="font-size:10pt;" color="#0000ff" face="Abadi MT Condensed"&gt;&lt;/font&gt; &lt;/div&gt;&lt;/td&gt;
&lt;td style="border-top-width:1pt;border-bottom-width:1pt;border-top-style:solid;border-bottom-style:solid;"&gt;
&lt;div&gt;&lt;font style="font-size:10pt;" color="#0000ff" face="Abadi MT Condensed"&gt;&lt;/font&gt; &lt;/div&gt;&lt;/td&gt;
&lt;td style="border-top-width:1pt;border-bottom-width:1pt;border-top-style:solid;border-bottom-style:solid;"&gt;
&lt;div&gt;&lt;font style="font-size:10pt;" color="#0000ff" face="Abadi MT Condensed"&gt;&lt;/font&gt; &lt;/div&gt;&lt;/td&gt;
&lt;td style="border-top-width:1pt;border-right-width:1pt;border-bottom-width:1pt;border-top-style:solid;border-right-style:solid;border-bottom-style:solid;"&gt;
&lt;div&gt;&lt;font style="font-size:10pt;" color="#0000ff" face="Abadi MT Condensed"&gt;&lt;/font&gt; &lt;/div&gt;&lt;/td&gt;
&lt;td&gt;
&lt;div&gt;&lt;font style="font-size:10pt;" color="#0000ff" face="Abadi MT Condensed"&gt;&lt;/font&gt; &lt;/div&gt;&lt;/td&gt;
&lt;td&gt;
&lt;div align="right"&gt;&lt;font style="font-size:10pt;" color="#0000ff" face="Abadi MT Condensed"&gt;&lt;/font&gt; &lt;/div&gt;&lt;/td&gt;
&lt;td&gt;
&lt;div align="right"&gt;&lt;font style="font-size:10pt;" color="#0000ff" face="Abadi MT Condensed"&gt;&lt;/font&gt; &lt;/div&gt;&lt;/td&gt;
&lt;td&gt;
&lt;div align="right"&gt;&lt;font style="font-size:10pt;" color="#0000ff" face="Abadi MT Condensed"&gt;&lt;/font&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</description></item><item><title>Re: Sum of Calculated Field</title><link>https://www.infopathdev.com:443/forums/thread/68276.aspx</link><pubDate>Sat, 09 Jul 2011 03:31:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:68276</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/68276.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=68276</wfw:commentRss><description>&lt;p&gt;Is Price an actual &lt;em&gt;field&lt;/em&gt;, or just a calculated value displayed in your form.&amp;nbsp; If it&amp;#39;s not an actual field, you can do this:&lt;/p&gt;
&lt;p&gt;sum(eval(&lt;strong&gt;&lt;u&gt;RepeatingField&lt;/u&gt;&lt;/strong&gt;, &amp;quot;my:Quantity * my:UnitPrice&amp;quot;))&lt;/p&gt;</description></item><item><title>Re: Sum of Calculated Field</title><link>https://www.infopathdev.com:443/forums/thread/68249.aspx</link><pubDate>Fri, 08 Jul 2011 19:36:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:68249</guid><dc:creator>IT_GIRL</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/68249.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=68249</wfw:commentRss><description>That didn&amp;#39;t work either unless I have the syntax incorrect</description></item><item><title>Re: Sum of Calculated Field</title><link>https://www.infopathdev.com:443/forums/thread/68247.aspx</link><pubDate>Fri, 08 Jul 2011 19:27:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:68247</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/68247.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=68247</wfw:commentRss><description>&lt;p&gt;How about using the xpath function &amp;quot;sum&amp;quot; - sum(Price)?&lt;/p&gt;</description></item><item><title>Sum of Calculated Field</title><link>https://www.infopathdev.com:443/forums/thread/68246.aspx</link><pubDate>Fri, 08 Jul 2011 19:25:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:68246</guid><dc:creator>IT_GIRL</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/68246.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=68246</wfw:commentRss><description>&lt;p&gt;I have a field &amp;quot;Price&amp;quot; in my repeating table Price is a calculated field&amp;nbsp; with the following formula Quantity * Unit Price.&lt;/p&gt;&lt;p&gt;I want a field &amp;quot;Total&amp;quot; to calculate the Sum of Price. How do I do that since in general Sum doesn&amp;#39;t work on calculated fields?&lt;/p&gt;</description></item></channel></rss>