<?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: How to do complicated calculations in a  Infopath</title><link>https://www.infopathdev.com:443/forums/thread/9187.aspx</link><pubDate>Tue, 28 Feb 2006 04:16:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:9187</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/9187.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=9187</wfw:commentRss><description>Hi Munmun and welcome to the forum!&lt;br /&gt;&lt;br /&gt;The forum doesn't provide attachment functionality, so you would have to upload your image to some webspace and give us a link.&lt;br /&gt;&lt;br /&gt;However, from what you have described you might want to use code to perform the calculations.  You could attach whatever calculations you need to execute to the OnAfterChange event of the dropdown. To do this, find the drop-down node in the Data Source task pane, double-click it, switch to the Data Validation tab, choose OnAfterChange from the event handler drop-down and then click Edit Form Code.&lt;br /&gt;&lt;br /&gt;I hope this helps!</description></item><item><title>How to do complicated calculations in a  Infopath</title><link>https://www.infopathdev.com:443/forums/thread/5402.aspx</link><pubDate>Mon, 27 Feb 2006 14:13:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:5402</guid><dc:creator>MunmunNath</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/5402.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=5402</wfw:commentRss><description>Please find attached a screenshot of the time sheet i have developed. As shown in the doc,by checking the checkbox, the text box gets populated with no of working hours and this is added into Total Working hours.When Bank Holiday is selected from dropdown , textbox is again populated but this time it gets added to Total Non Working hours. However i dont know how to set rules so as to decrease the total no of hours when the action is changed , For e.g when Bank holiday is changed to Sick Leave the Total should decrease. But i cant incorporate this functionality. Please suggest some help.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;P.S How to include attachments with a post on this forum ?</description></item></channel></rss>