<?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: Issue on Repeating table summation</title><link>https://www.infopathdev.com:443/forums/thread/92878.aspx</link><pubDate>Mon, 09 Sep 2013 11:51:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92878</guid><dc:creator>Richter Belmont</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92878.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=92878</wfw:commentRss><description>Do you know how to filter the date thru code?
&lt;br /&gt;
&lt;br /&gt;
xIter = MainDataSource.CreateNavigator().[Select](&amp;quot;/my:myFields/my:Group1/my:LaborReport[@_Date &amp;gt;= 
&lt;br /&gt;
../../my:SummaryReport/my:LR_StartDt and @_Date &amp;lt;=
 &lt;br /&gt;
../../my:SummaryReport/my:LR_EndDt]&amp;quot;, NamespaceManager)
&lt;br /&gt;
&lt;br /&gt;
doesnt return anytthing</description></item><item><title>Re: Issue on Repeating table summation</title><link>https://www.infopathdev.com:443/forums/thread/92874.aspx</link><pubDate>Mon, 09 Sep 2013 08:13:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92874</guid><dc:creator>Richter Belmont</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92874.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=92874</wfw:commentRss><description>Thanks Hilary It Works!
&lt;br /&gt;
&lt;br /&gt;
sum(/my:myFields/my:LaborReport/my:_Hours[../my:_WONum = current()/../my:_WONum and msxsl:string-compare(../my:_Date, ../../my:SummaryReport/my:LR_StartDt) &amp;gt;= 0 and msxsl:string-compare(../my:_Date, ../../my:SummaryReport/my:LR_EndDt)</description></item><item><title>Re: Issue on Repeating table summation</title><link>https://www.infopathdev.com:443/forums/thread/92825.aspx</link><pubDate>Fri, 06 Sep 2013 21:27:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92825</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92825.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=92825</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi - you need to add to the XPath the filter you are using to hide some rows. &lt;/p&gt;&lt;p&gt;sum(/my:myFields/my:LaborReport/my:_Hours[../my:_WONum = current()/../my:_WONum &lt;strong&gt;and ../my:SomeField&amp;nbsp;!= &amp;quot;SomeValue&amp;quot;&lt;/strong&gt;])&lt;/p&gt;&lt;p&gt;I don&amp;#39;t know what you are filtering on, so the XPath and value in bold above are made up - but that is the general idea.&lt;/p&gt;</description></item><item><title>Issue on Repeating table summation</title><link>https://www.infopathdev.com:443/forums/thread/92764.aspx</link><pubDate>Thu, 05 Sep 2013 09:47:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92764</guid><dc:creator>Richter Belmont</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92764.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=92764</wfw:commentRss><description>Hi Guys - I want to share my problem here hoping that someone can help me resolving :)
&lt;br /&gt;
&lt;br /&gt;
Im doing a sum in a repeating table, sum all &amp;quot;hours&amp;quot; and &amp;quot;amount&amp;quot; that are same WONum field. However, the hidden rows with the same WONum is also adding up, can someone knows how to prevent those hidden row from summing up? Thanks.
&lt;br /&gt;
&lt;br /&gt;
WO60001 = should be 3.5hrs only
&lt;br /&gt;
WO60002 = should be 9hrs only
&lt;br /&gt;
WO60007 = should be 0.5hrs only
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
here is the code i put..
&lt;br /&gt;
&lt;br /&gt;
sum(/my:myFields/my:LaborReport/my:_Hours[../my:_WONum = current()/../my:_WONum])</description></item></channel></rss>