<?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: Help with totalling results of checkbox</title><link>https://www.infopathdev.com:443/forums/thread/10970.aspx</link><pubDate>Mon, 22 Jan 2007 20:30:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:10970</guid><dc:creator>Shiraz Cupala</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/10970.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=10970</wfw:commentRss><description>Welcome to our forum Bruum.  This requires some tricky XPATH to get it to work.  What you need to do is have the formula filter our only the repeating node where the Vendor node is true. The exact xpath will depend on your XML structure.&lt;br /&gt;&lt;br /&gt;You have the example of the advertcosts xpath.  Can you also give the example of the xpath to the vendor checkbox node?&lt;br /&gt;&lt;br /&gt;Also which is the repeating node above?&lt;br /&gt;&lt;br /&gt;Your formula would be be something like:&lt;br /&gt;sum(/ID/AdvertPub/AdvertBook/AdvertCosts[Vendor=true])&lt;br /&gt;&lt;br /&gt;The formula builder UI should allow you to build this graphically by dropping in the sum formula and then specifying the node to sum but then applying a filter to that node.  The filter button will be on the dialog where you select the node for the sum(doubleclicktoselect) formula.&lt;br /&gt;&lt;br /&gt;Thanks, Shiraz&lt;br /&gt;</description></item><item><title>Re: Help with totalling results of checkbox</title><link>https://www.infopathdev.com:443/forums/thread/10969.aspx</link><pubDate>Fri, 19 Jan 2007 20:41:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:10969</guid><dc:creator>Bruum</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/10969.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=10969</wfw:commentRss><description>Thanks Shilpa&lt;br /&gt;&lt;br /&gt;Problem is I can't get the code right that goes in this rule.  Are you able to help me here?</description></item><item><title>Re: Help with totalling results of checkbox</title><link>https://www.infopathdev.com:443/forums/thread/10968.aspx</link><pubDate>Fri, 19 Jan 2007 09:41:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:10968</guid><dc:creator>Shilpa Pitta</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/10968.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=10968</wfw:commentRss><description>Hi Bruum and welcome to the forums,&lt;br /&gt;&lt;br /&gt;Apply rule on the vendortotal field defining a function to display the total.&lt;br /&gt;&lt;br /&gt;Hope this helps you!</description></item><item><title>Help with totalling results of checkbox</title><link>https://www.infopathdev.com:443/forums/thread/6025.aspx</link><pubDate>Thu, 18 Jan 2007 11:10:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6025</guid><dc:creator>Bruum</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6025.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6025</wfw:commentRss><description>I am a newby to Infopath - and am creating an advertising budget form.  Everything is going well so far - but now I need to total some repeating columns and I am getting stuck.&lt;br /&gt;&lt;br /&gt;I have a XML datasource with ID/AdvertPub/AdvertBook/AdvertCosts which fill a repeating table as follows :&lt;br /&gt;&lt;br /&gt;Drop down box selects AdvertPub, which then autofills AdvertCosts and AdvertBook, then user clicks on 1 of 3 checkboxes - Vendor, Agent or Office to pay.&lt;br /&gt;&lt;br /&gt;In the footer I have a total of AdvertCosts which is working fine.  But now I need a vendor total - ie: when the vendor total is ticked (which is not all the time), the vendtotal box should add up all associated Advertcosts for that line.&lt;br /&gt;&lt;br /&gt;I can get this to work in Excel and Access but can't figure it out in Infopath.  Would appreciate anyone's urgent assistance.  Note I am not to good with code, but can work through the rules OK.</description></item></channel></rss>