<?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: IF Statement in formula</title><link>https://www.infopathdev.com:443/forums/thread/78950.aspx</link><pubDate>Fri, 25 May 2012 10:42:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78950</guid><dc:creator>micknisbet</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78950.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=78950</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I&amp;#39;ve actually found what I need using filters. Thanks anyway...&lt;br /&gt;&lt;/p&gt;</description></item><item><title>IF Statement in formula</title><link>https://www.infopathdev.com:443/forums/thread/78948.aspx</link><pubDate>Fri, 25 May 2012 09:00:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78948</guid><dc:creator>micknisbet</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78948.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=78948</wfw:commentRss><description>&lt;p&gt;I am trying to write a system to calculate annual leave days remaining. I have a list with each holiday being an entry. I want to add together the amount of days used previously. I have a textbox in which I want to store the number. I have got it to work so far by using the formula sum(WorkDays0) where &amp;#39;WorkDays&amp;#39; is the column in the list which stores the number of days used for each holiday.&lt;/p&gt;&lt;p&gt;This works fine, except that I need it to only add the number of days when the holiday was created by the logged in user. I would need some kind of IF statement for this, and possible some kind of loop to loop through the holidays only adding the ones I want? &lt;/p&gt;&lt;p&gt;I haven&amp;#39;t done any Infopath forms before, so I apologise if this is something that can&amp;#39;t be done, or if it&amp;#39;s something really easy.&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>