<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Sum up totals selected by a department using code</title><link>https://www.infopathdev.com:443/forums/thread/3465.aspx</link><pubDate>Thu, 09 Nov 2006 16:05:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3465</guid><dc:creator>Michael71</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3465.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3465</wfw:commentRss><description>I've tried to edit the Xpath to get it to query, but this Xpath has errors. with the child operator. Can someone help me out here.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;(/myFields/datafields/d:TOSS/@employeeDepartment( =) '5201') sum(../@monthlyExpenses)</description></item><item><title>Sum up totals selected by a department using code</title><link>https://www.infopathdev.com:443/forums/thread/1656.aspx</link><pubDate>Thu, 09 Nov 2006 14:46:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1656</guid><dc:creator>Michael71</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1656.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=1656</wfw:commentRss><description>How do I total a columns in InfoPath depending on a field (department) using C# or jscript or VBscript in InfoPath. The user will select a &lt;b&gt;department&lt;/b&gt; from a drop down box on a InfoPath Form, and automaticly in the totals repeating table on the form it will select the monthlyExpenses and monthlyBudgeted and total them up for the year. Everytime the user selects a different department, the totals will be addded for the year for that department. The department drop down box will all so be connected to a submit data connection. If it is a easier way using rules let me know. Thanks.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Please help&lt;/b&gt;</description></item></channel></rss>