<?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: computation results, storage, etc.</title><link>https://www.infopathdev.com:443/forums/thread/6334.aspx</link><pubDate>Fri, 12 Nov 2004 18:46:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6334</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6334.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6334</wfw:commentRss><description>If you are using InfoPath SP1 you can use a formula as a default value for a field. This formula can do the kinds of operations you mentioned. The value can update automatically when the other fields change.&lt;br /&gt;&lt;br /&gt;Greg Collins [InfoPath MVP]</description></item><item><title>Re: computation results, storage, etc.</title><link>https://www.infopathdev.com:443/forums/thread/6333.aspx</link><pubDate>Fri, 12 Nov 2004 12:55:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6333</guid><dc:creator>jonbrave</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6333.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6333</wfw:commentRss><description>Not sure, but I did an MSDN search for "sum infopath".  &lt;br /&gt;&lt;br /&gt;Article "Summary View Calculations in the Calculations Developer Sample Form" seems all about this.&lt;br /&gt;&lt;br /&gt;Also, article "Using a Custom Script Library for Common Tasks" descibes the functions in Common.js, which has "sum" function: "Returns the sum of the nodes that match the specified XPath expression. You can use this function to create running totals."&lt;br /&gt;&lt;br /&gt;?</description></item><item><title>computation results, storage, etc.</title><link>https://www.infopathdev.com:443/forums/thread/4501.aspx</link><pubDate>Fri, 12 Nov 2004 10:33:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4501</guid><dc:creator>octavio</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4501.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=4501</wfw:commentRss><description>hi,&lt;br /&gt;&lt;br /&gt;is there a way for me to multiply (or add, sub, div for that matter) the values entered into 2 different fields and store its product on another data source, then sum all these products to compute for a grand total to be displayed.&lt;br /&gt;&lt;br /&gt;to illustrate, i have a field for QUANTITY and UNIT COST, multiply the entered values then display to a textbox/expression box TOTAL. these fields reside on a repeating table so there can be several TOTALs, then i want to sum these totals and display it in a textbox or an expression box (what's better?) as GRAND TOTAL.&lt;br /&gt;&lt;br /&gt;please advice. any help would be greatly appreciated. tnx</description></item></channel></rss>