<?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: Combining Sum and Eval in Infopath 2010</title><link>https://www.infopathdev.com:443/forums/thread/70793.aspx</link><pubDate>Sun, 02 Oct 2011 16:10:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70793</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70793.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=70793</wfw:commentRss><description>&lt;p&gt;Hopefully someone else can recommend a book or something, but the best I can recommend is to tinker and experiment a lot, and lurk these forums.&amp;nbsp; As with anything else, there&amp;#39;s no substitute for experience. :-)&lt;/p&gt;</description></item><item><title>Re: Combining Sum and Eval in Infopath 2010</title><link>https://www.infopathdev.com:443/forums/thread/70792.aspx</link><pubDate>Sun, 02 Oct 2011 14:46:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70792</guid><dc:creator>Edwin Brito</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70792.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=70792</wfw:commentRss><description>&lt;p&gt;Right on the spot!!&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thanks!&lt;/p&gt;&lt;p&gt;&amp;nbsp;Where can I learn how to write these formulas?&lt;/p&gt;</description></item><item><title>Re: Combining Sum and Eval in Infopath 2010</title><link>https://www.infopathdev.com:443/forums/thread/70791.aspx</link><pubDate>Sun, 02 Oct 2011 12:23:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70791</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70791.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=70791</wfw:commentRss><description>&lt;p&gt;How&amp;#39;s this:&lt;/p&gt;&lt;span style="FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;font size="3"&gt;sum(xdMath:Eval(../my:group8[my:Color = &amp;quot;B/W&amp;quot;], &amp;quot;my:No_Pages * my:Times&amp;quot;))&lt;/font&gt;&lt;/span&gt;</description></item><item><title>Combining Sum and Eval in Infopath 2010</title><link>https://www.infopathdev.com:443/forums/thread/70790.aspx</link><pubDate>Sun, 02 Oct 2011 04:25:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70790</guid><dc:creator>Edwin Brito</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70790.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=70790</wfw:commentRss><description>&lt;p&gt;Ok, after 5 hours trying to solve this, I give up!! &lt;/p&gt;&lt;p&gt;&amp;nbsp;This is what I am trying to do:&lt;/p&gt;&lt;p&gt;I am creating an Infopath 2010 form to request printouts in a SharePoint Library. Since i have color and blak/white pages, I need to sum the total of color pages separately from the total of black and white pages (like a sumproduct in Excel).&lt;/p&gt;&lt;p&gt;My formula&amp;nbsp;would calculate:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;strong&gt;Total Color&lt;/strong&gt; = Sum ( if (Color = &amp;quot;Color&amp;quot; , No_Pages * Times)&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Total B/W&amp;nbsp;&lt;/strong&gt;&amp;nbsp;&amp;nbsp; = Sum ( if (Color =&amp;nbsp; &amp;quot;B/W&amp;quot; , No_Pages * Times)&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&amp;nbsp;This is how it looks in XPad:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;sum(xdMath:Eval(../my:group8[../my:group8/my:Color = &amp;quot;B/W&amp;quot;], &amp;quot;../my:group8/my:No_Pages * ../my:group8/my:Times&amp;quot;))&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Obviously I am making a mistake since the form doesn&amp;#39;t calculate the values as I expected. Any suggestions?&lt;/p&gt;&lt;p&gt;&lt;img style="width:1132px;height:730px;" title="Sum Black" border="1" alt="Sum Black" align="middle" src="http://i275.photobucket.com/albums/jj295/edwinbrito/SumBlack.jpg" width="1132" height="730" /&gt;&lt;/p&gt;</description></item></channel></rss>