<?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: Repeating table question</title><link>https://www.infopathdev.com:443/forums/thread/8188.aspx</link><pubDate>Fri, 11 Nov 2005 21:39:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8188</guid><dc:creator>drobins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8188.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8188</wfw:commentRss><description>Thanks Patrick,&lt;br /&gt;&lt;br /&gt;What i ended up doing was using a function to total all the taxes from the repeating table "TX" field. I also had to filter that to select all the "TX" field where "EXP_TYP"(expense type field) was equal to meals and entertainment then multiply it by 0.75&lt;br /&gt;&lt;br /&gt;worked out just the way i wanted it to.&lt;br /&gt;&lt;br /&gt;I could then add that to all the rest of the taxes that didn't equal meals or entertainment.&lt;br /&gt;&lt;br /&gt;Dave</description></item><item><title>Re: Repeating table question</title><link>https://www.infopathdev.com:443/forums/thread/8187.aspx</link><pubDate>Wed, 09 Nov 2005 08:44:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8187</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8187.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8187</wfw:commentRss><description>Hi Dave,&lt;br /&gt;Sure thing. You can do this with Rules or with Code. For the Rules approach double click on the type selection and go to Rules. Define a rule to set a field's value (in this case the revised total field). Then, you can use XPath to sum the values in your table and multiple by 0.75 or whatever. You may also want to add the same rule to values in the table since they could change after the type is selected. &lt;br /&gt;&lt;br /&gt;For Code, you can add OnAfterChange handlers with code to do the same calculation and set the total fields based on it. &lt;br /&gt;&lt;br /&gt;Hope this helps!&lt;br /&gt;&lt;br /&gt;Patrick Halstead [InfoPath MVP]&lt;br /&gt;InfoPathDev</description></item><item><title>Repeating table question</title><link>https://www.infopathdev.com:443/forums/thread/5085.aspx</link><pubDate>Tue, 08 Nov 2005 20:51:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:5085</guid><dc:creator>drobins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/5085.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=5085</wfw:commentRss><description>I have a repeating table for an expense report. After an employee finishes filling out the report they have to select an employee type. Some employees have an additional 25% removed from meals/entertainment expenses.&lt;br /&gt;&lt;br /&gt;So when an employee makes his/her type selection, if they are the type that has the 25% removed, I want to grab all the receipt totals from the repeating table where the expense type equals Meals or Entertainment add them together and then remove 25% from the total.&lt;br /&gt;&lt;br /&gt;Is it possible to do this?&lt;br /&gt;&lt;br /&gt;Any help would be greatly appreciated&lt;br /&gt;&lt;br /&gt;Dave</description></item></channel></rss>