<?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: why my sum function does not work properly ?</title><link>https://www.infopathdev.com:443/forums/thread/61583.aspx</link><pubDate>Sat, 20 Nov 2010 09:47:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61583</guid><dc:creator>milko</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61583.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=61583</wfw:commentRss><description>&lt;p&gt;dont worry, i solved :-)&lt;br /&gt;&lt;span id="result_box" class="short_text"&gt;&lt;span style="COLOR:#000;"&gt;it was a mistake to approach the problem&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: why my sum function does not work properly ?</title><link>https://www.infopathdev.com:443/forums/thread/61571.aspx</link><pubDate>Fri, 19 Nov 2010 19:03:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61571</guid><dc:creator>milko</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61571.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=61571</wfw:commentRss><description>&lt;p&gt;infopath remembers the first occurrence and sum for the next.&lt;br /&gt;why eval does not do his job ?&lt;/p&gt;</description></item><item><title>why my sum function does not work properly ?</title><link>https://www.infopathdev.com:443/forums/thread/61560.aspx</link><pubDate>Fri, 19 Nov 2010 15:48:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61560</guid><dc:creator>milko</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61560.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=61560</wfw:commentRss><description>&lt;p&gt;i dont know why the function inside the first qta field result in a wrong value: the function report a value of 48 instead 56.&lt;/p&gt;
&lt;p&gt;formula must be the result of the sum of all occurrence of &lt;strong&gt;tot_pagine_giornale&lt;/strong&gt; (decreased of 40) inside the repeated section &amp;lt;data&amp;gt; (inside Data Connection &amp;quot;Fogliazione_GDV...&amp;quot;). all filtered by value &amp;lt;anno&amp;gt; and &amp;lt;mese&amp;gt; (main data source) (and valore_giorno != &amp;quot;lunedi&amp;quot; but the xml contains only saturday and sunday).&lt;/p&gt;
&lt;p&gt;the formula that should be corrected:&lt;br /&gt;somma(valutazione(data[valore_anno = current()/../../../../anno and valore_mese = current()/../../../../mese and valore_giorno != &amp;quot;lunedi&amp;quot;]; &amp;#39;xdXDocument:GetDOM(&amp;quot;Fogliazioni_GDV_con_mese_e_giorno&amp;quot;)/tutto/date/data/dati_fogliazione/tot_pagine_giornale/valore - 40&amp;#39;))&lt;/p&gt;
&lt;p&gt;could you please check the zip attacched ?&lt;/p&gt;
&lt;p&gt;tvm, milko&lt;/p&gt;</description></item></channel></rss>