<?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: Default/Conditional Value in Repeating Tables</title><link>https://www.infopathdev.com:443/forums/thread/19929.aspx</link><pubDate>Tue, 15 May 2007 13:58:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19929</guid><dc:creator>dannylam4</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19929.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=19929</wfw:commentRss><description>&lt;p&gt;Ahh, I worked out my issue, and it was a lot simpler than I thought. All I had to do was create a filter while summing the &amp;quot;AmountMade&amp;quot; section. The formula turned out to be sum(AmountMade[./Name != &amp;#39;Bob&amp;#39;]), and it turned out that my problem was in the fact that my old formula didn&amp;#39;t have the ./ for the name... Funny how things work out. Thanks very much though! I&amp;#39;ll implement both and see which my boss prefers.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thanks Muchly,&lt;br /&gt;Danny Lam&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Default/Conditional Value in Repeating Tables</title><link>https://www.infopathdev.com:443/forums/thread/19920.aspx</link><pubDate>Tue, 15 May 2007 10:36:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19920</guid><dc:creator>B.Shiva Prasad</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19920.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=19920</wfw:commentRss><description>&lt;p&gt;Hi dannylam4,&lt;/p&gt;&lt;p&gt;Clay&amp;#39;s aim is, take a field with name include or display or hide, etc. with TRUE as default value in the schema and take it as boolean, say for example include so that it accepts either TRUE or FALSE. Now set the field value to FALSE to whom you want to exclude from the sum.&lt;/p&gt;&lt;p&gt;while summing take the function like this sum(AmountMade[./include != &amp;#39;FALSE&amp;#39;]).&lt;/p&gt;&lt;p&gt;&lt;br /&gt;Hope this will help you &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Default/Conditional Value in Repeating Tables</title><link>https://www.infopathdev.com:443/forums/thread/19839.aspx</link><pubDate>Mon, 14 May 2007 12:42:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19839</guid><dc:creator>dannylam4</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19839.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=19839</wfw:commentRss><description>I have no idea how that is done, haha. You wouldn&amp;#39;t know any tutorials to help me do what you just explained do you? Unless you want to try and explain it yourself. (I am VERY newb to this, I&amp;#39;ve only been doing this for... 4 business days? And thanks for the welcome.)&lt;br /&gt;</description></item><item><title>Re: Default/Conditional Value in Repeating Tables</title><link>https://www.infopathdev.com:443/forums/thread/19791.aspx</link><pubDate>Fri, 11 May 2007 19:45:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19791</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19791.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=19791</wfw:commentRss><description>&lt;p&gt;How I would approach this is add a field to your table, called include or display or hide, etc. I would probably make it a boolean but sometimes an integer is nice so that you can calculate how many are excluded, say if equal to 1 is exclude, these could be summed and subtracted from the total records.&lt;/p&gt;&lt;p&gt;This would act as a flag to include or exclude a record.&amp;nbsp; Then you can use this field for both your conditional formating and for your summation functions.&amp;nbsp; So sum(amountmade[./exclude=0]),&amp;nbsp; not xpath, but a logic example.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Hope this helps and welcome to the forums.&lt;/p&gt;</description></item><item><title>Default/Conditional Value in Repeating Tables</title><link>https://www.infopathdev.com:443/forums/thread/19783.aspx</link><pubDate>Fri, 11 May 2007 16:43:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19783</guid><dc:creator>dannylam4</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19783.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=19783</wfw:commentRss><description>&lt;p&gt;I hope this is in the right place... and not a repeat...&lt;/p&gt;&lt;p&gt;But anyway, I have this repeating table all set up, with values and such in it. Since I can&amp;#39;t exactly describe what&amp;#39;s in the table without breaking policy, I&amp;#39;m going to use an example:&lt;/p&gt;&lt;p&gt;So this table consists of payrolls for employees, listing off how much they make and the different types of taxes. Now we want to see the total of every column, see how much all the employees are earning, see the sum of the taxes, but we want to exclude someone from the table (we&amp;#39;ll say his name is David Lee). Okay, so the table consists of &amp;quot;Name&amp;quot; &amp;quot;AmountMade&amp;quot; &amp;quot;Tax1&amp;quot; &amp;quot;Tax2&amp;quot; &amp;quot;Tax3&amp;quot;. At first, we just wanted David Lee&amp;#39;s section to disappear from the table all together, so I hid him, but hiding him doesn&amp;#39;t remove him from the Summation, so I was wondering if there&amp;#39;s a way to make &amp;quot;AmountMade&amp;quot; &amp;quot;Tax1&amp;quot; &amp;quot;Tax2&amp;quot; and &amp;quot;Tax3&amp;quot; default to 0 when the &amp;quot;Name&amp;quot; is equal to &amp;quot;David Lee&amp;quot;. I&amp;#39;ve tried doing:&lt;br /&gt;&lt;br /&gt;(0)[../@Name=&amp;quot;David Lee&amp;quot;]&lt;br /&gt;&lt;br /&gt;but that just makes ALL the tables default to 0.&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>