<?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: Infopath Function</title><link>https://www.infopathdev.com:443/forums/thread/50696.aspx</link><pubDate>Mon, 18 Jan 2010 15:10:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50696</guid><dc:creator>ricomarcelo</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50696.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=50696</wfw:commentRss><description>&lt;p&gt;Hi meandinfopath,&lt;/p&gt;
&lt;p&gt;I was also trying to have that functionality on my form though I set it aside for a while till I&amp;#39;m done with other more important stuff my form needs.&lt;/p&gt;
&lt;p&gt;If I&amp;#39;m not mistaken you&amp;#39;re trying to do some sort of&amp;nbsp;&amp;quot;pivot table&amp;quot; report here. As an InfoPath&amp;nbsp;newbie, I don&amp;#39;t really know if this is possible at all with InfoPath. Maybe it is but it&amp;#39;s going to be a tall order specially for myself.&amp;nbsp;So if you find yourself stuck, you might want to just utilize Excel for this while struggling to find a solution in InfoPath. Have InfoPath do the data entry part and Excel do the reporting part. Just place a hyperlink of the Excel document on your InfoPath form and that&amp;#39;s it.&lt;/p&gt;
&lt;p&gt;- Ric&lt;/p&gt;</description></item><item><title>Re: Infopath Function</title><link>https://www.infopathdev.com:443/forums/thread/50684.aspx</link><pubDate>Mon, 18 Jan 2010 00:14:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50684</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50684.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=50684</wfw:commentRss><description>&lt;p&gt;You&amp;#39;d need to use different conditions for each rule. Start with the one with the most conditions and work your way back, I think -- so your first rule would have the condition &amp;quot;If Algebra is present AND Geometry is present AND Chemistry is present AND Physics is present....&amp;quot; and then the action would set the Total field to the correct value. Since the UI only provides room for 5 conditions, you may need to use &amp;quot;The expression&amp;quot; in the last condition and just write your own: &amp;quot;my:Chemistry and my:Physics&amp;quot; or whatever your actual XPath looks like for your fields. Your second rule would include one less column, and so on, until you get to a single condition.&lt;/p&gt;</description></item><item><title>Infopath Function</title><link>https://www.infopathdev.com:443/forums/thread/50639.aspx</link><pubDate>Fri, 15 Jan 2010 13:20:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50639</guid><dc:creator>meandinfopath</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50639.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=50639</wfw:commentRss><description>&lt;p&gt;Hi &lt;/p&gt;
&lt;p&gt;&lt;br /&gt;I have a repeating table bound to secondary data source which returns variable xml().&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Row1 ID Name Total Maths Physics Chemistry ................ 15 columns are there which contains Marks&lt;/p&gt;
&lt;p&gt;but sometimes there may be only 3 columns. I have to sum the marks to show in Total.&lt;br /&gt;Remember this is bound to secondary data source.&lt;br /&gt;With xpath functions can i write something like this&lt;/p&gt;
&lt;p&gt;Rule1 for Maths- (When Maths marks changes)&lt;br /&gt;If Physics present Total = Maths+Physics&lt;br /&gt;If Chemistry present Total = Maths + Physics+Chemistry&lt;br /&gt;etc.....................................&lt;br /&gt;.....................................&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Tnx&lt;/p&gt;</description></item></channel></rss>