<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Sum on Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/83041.aspx</link><pubDate>Wed, 26 Sep 2012 14:55:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83041</guid><dc:creator>infopathdude</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83041.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=83041</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;As always, thank you.....&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Sum on Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/83038.aspx</link><pubDate>Wed, 26 Sep 2012 14:31:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83038</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83038.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=83038</wfw:commentRss><description>&lt;p&gt;The conditional formatting on the repeating summary table was the issue - here&amp;#39;s a revised version.&lt;/p&gt;</description></item><item><title>Re: Sum on Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/83013.aspx</link><pubDate>Tue, 25 Sep 2012 20:13:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83013</guid><dc:creator>infopathdude</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83013.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=83013</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Posted as advised..Thank you for ur help&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Sum on Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/83011.aspx</link><pubDate>Tue, 25 Sep 2012 19:33:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83011</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83011.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=83011</wfw:commentRss><description>&lt;p&gt;You can attach it to a&amp;nbsp;post under the Options tab - I&amp;#39;ll try to take a look later today or tomorrow morning.&lt;/p&gt;</description></item><item><title>Re: Sum on Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/83008.aspx</link><pubDate>Tue, 25 Sep 2012 18:56:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83008</guid><dc:creator>infopathdude</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83008.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=83008</wfw:commentRss><description>&lt;p&gt;sum(/my:myFields/my:group1/my:group2/my:field2[../my:field1 = current()/../my:field1 and ../my:Code = current()/../my:Code])&lt;/p&gt;&lt;p&gt;I have extended the infopath template what you had sent me, but cannot find a place to send this to you..Please advise if there is a way for me to send this....&lt;/p&gt;&lt;p&gt;Thanks for your prompt response&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Sum on Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/83001.aspx</link><pubDate>Tue, 25 Sep 2012 16:01:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83001</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83001.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=83001</wfw:commentRss><description>&lt;p&gt;What&amp;#39;s the full XPath of your formula? You can check the Edit XPath box in the formula editor...&lt;/p&gt;</description></item><item><title>Re: Sum on Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/82992.aspx</link><pubDate>Tue, 25 Sep 2012 14:06:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:82992</guid><dc:creator>infopathdude</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/82992.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=82992</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hilary,&lt;/p&gt;&lt;p&gt;You helped me on this before....I have to extend this a tad bit and I thought I should be able to do figure this out by myself :(&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I need to add an additional column to the repeating table and the sum depends on two fields now&lt;/p&gt;&lt;p&gt;So&amp;nbsp;&lt;/p&gt;&lt;p&gt;For Eg-Expense Detail Repeating Table&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Rental | A |-$10&lt;/p&gt;&lt;p&gt;Food  | A |-15$&lt;/p&gt;&lt;p&gt;Hotel  | B |-$50&lt;/p&gt;&lt;p&gt;Food  | B|-$20&lt;/p&gt;&lt;p&gt;Misc  | A |-$30 &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Hotel  | A |-$50&lt;/p&gt;&lt;p&gt;Rental  | A |-$10 &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I want the summary section to go thru the repeating table, pick these expense categories and summarize them as&lt;/p&gt;&lt;p&gt;Rental  | A |-$20&lt;/p&gt;&lt;p&gt;Food  | A |-$15&lt;/p&gt;&lt;p&gt;Food  | B |-$20&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Hotel  | A |-$50 &lt;/p&gt;&lt;p&gt;Hotel  | B |-$50&amp;nbsp; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Misc  | A | $30 &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I tried to change the Sum filter to say sum(amount[exptype=exptype and code=code]) but it doesnt seem to add values of same code and type like shown above...it just shows the amount from the first exptype &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Any thoughts on what am I doing wrong?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Sum on Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/81880.aspx</link><pubDate>Wed, 22 Aug 2012 17:25:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81880</guid><dc:creator>infopathdude</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81880.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=81880</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hilary, thanks a ton...that was so simple...forgot abt current function&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Sum on Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/81876.aspx</link><pubDate>Wed, 22 Aug 2012 15:47:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81876</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81876.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=81876</wfw:commentRss><description>&lt;p&gt;There&amp;#39;s a sample form &lt;a href="http://www.infopathdev.com/files/folders/examples/entry41116.aspx"&gt;here&lt;/a&gt; that I think will help you.&lt;/p&gt;</description></item><item><title>Sum on Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/81870.aspx</link><pubDate>Wed, 22 Aug 2012 14:19:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81870</guid><dc:creator>infopathdude</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81870.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=81870</wfw:commentRss><description>&lt;p&gt;Guys, I have been using infopath for a while and I always find challenging implementing basic functions...I rem I had to perform a division on couple of fields and had some tough time...I think it was&amp;nbsp; just me once i figured it out...:(&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Well today I am struck with a new issue which i thought would be no issue..Trying to write an expense report form ...Have a repeating table to enter expense details&lt;/p&gt;&lt;p&gt;Now after all the expenses are entered i need to group them by expense categories and show the sub total for each category in a separate section&lt;/p&gt;&lt;p&gt;For Eg-Expense Detail Repeating Table&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Rental-$10&lt;/p&gt;&lt;p&gt;Food-15$&lt;/p&gt;&lt;p&gt;Hotel-$50&lt;/p&gt;&lt;p&gt;Food-$20&lt;/p&gt;&lt;p&gt;Misc-$30 &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Hotel-$50&lt;/p&gt;&lt;p&gt;Rental-$10 &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I want the summary section to go thru the repeating table, pick these expense categories and summarize them as&lt;/p&gt;&lt;p&gt;Rental-$20&lt;/p&gt;&lt;p&gt;Food-$35&lt;/p&gt;&lt;p&gt;Hotel-$100 &lt;/p&gt;&lt;p&gt;Misc-$30 &lt;/p&gt;&lt;p&gt;How do I accomplish this, trying to do this in browser enabled forms&lt;/p&gt;&lt;p&gt;I have read about preceeding-sibling,following-sibling,eval but don&amp;#39;t seem to figure out where to start...&lt;/p&gt;&lt;p&gt;Preceeding sibling will only tell me the last expense category, seems like i need to be able to iterate the repeating table to get the groupings...&lt;/p&gt;&lt;p&gt;Also not sure how does the preceeding functions impact when you try to insert an entry in the middle of the table ..&lt;/p&gt;&lt;p&gt;Please help&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>