<?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: Preform pricing total from SharePoint list</title><link>https://www.infopathdev.com:443/forums/thread/116837.aspx</link><pubDate>Thu, 27 Jul 2017 18:08:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:116837</guid><dc:creator>lwenzel90</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/116837.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=116837</wfw:commentRss><description>Thank you so much you are awesome Hilary!</description></item><item><title>Re: Preform pricing total from SharePoint list</title><link>https://www.infopathdev.com:443/forums/thread/116836.aspx</link><pubDate>Thu, 27 Jul 2017 17:55:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:116836</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/116836.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=116836</wfw:commentRss><description>Paste this in to your FinalTotals default value: sum(xdMath:Eval(xdXDocument:GetDOM(&amp;quot;FloorStockData&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW, &amp;quot;d:gqyt * d:tpch&amp;quot;))</description></item><item><title>Re: Preform pricing total from SharePoint list</title><link>https://www.infopathdev.com:443/forums/thread/116832.aspx</link><pubDate>Thu, 27 Jul 2017 12:30:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:116832</guid><dc:creator>lwenzel90</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/116832.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=116832</wfw:commentRss><description>I tried using the sum and eval function but I received this error maybe I am not taking the proper steps. This is the error that I receive:

// ggyt is the price from the SP list 
// tpch is the quantity from the SP list

INPUT: 
sum(eval(SharePointListItem_RW, &amp;quot;gqyt * tpch&amp;quot;))

ERROR: 
Expected value type: ,

Actual value: name
sum(eval(xdXDocument:GetDOM(&amp;quot;FloorStockData&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW, &amp;quot;xdXDocument:GetDOM(&amp;quot;--&amp;gt;FloorStockData</description></item><item><title>Re: Preform pricing total from SharePoint list</title><link>https://www.infopathdev.com:443/forums/thread/116826.aspx</link><pubDate>Wed, 26 Jul 2017 23:58:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:116826</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/116826.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=116826</wfw:commentRss><description>&lt;p&gt;You will need to use the eval function - if you look back at that sample form, you&amp;#39;ll see it as a default in the Total field. Something like: sum(eval(group2, &amp;quot;my:Amount * my:Price&amp;quot;))&lt;/p&gt;&lt;p&gt;You use the field picker to select the repeating group, then hand type the&amp;nbsp;XPath for the other two fields - attach a copy of your form if you need a hand. :)&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Preform pricing total from SharePoint list</title><link>https://www.infopathdev.com:443/forums/thread/116822.aspx</link><pubDate>Wed, 26 Jul 2017 19:03:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:116822</guid><dc:creator>lwenzel90</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/116822.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=116822</wfw:commentRss><description>Here is the calculated field math I tried. If you would like me to explain anything further or screenshot anything else I would be happy to!</description></item><item><title>Preform pricing total from SharePoint list</title><link>https://www.infopathdev.com:443/forums/thread/116821.aspx</link><pubDate>Wed, 26 Jul 2017 18:57:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:116821</guid><dc:creator>lwenzel90</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/116821.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=116821</wfw:commentRss><description>I have an infopath form that pulls data from a SharePoint list for the cost of food items. The form also pulls a quantity field where all items start as zero and that a user can change with a text box later on the form. The items and prices are then displayed in infopath using a repeating section with calculated fields. When I try to create an expression to find a total all of the quantities and their respective prices the expressions is valid but does not update for any value except the first item of the SharePoint list. I am lost and not sure how to calculate a total value. Any help you kind people could offer would be very appreciated.</description></item></channel></rss>