<?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: Translation of Excel IF/OR into INFOPATH</title><link>https://www.infopathdev.com:443/forums/thread/99730.aspx</link><pubDate>Wed, 22 Oct 2014 15:38:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:99730</guid><dc:creator>Sachin Nayar</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/99730.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=99730</wfw:commentRss><description>&lt;p&gt;Hi Hilary - Thank you so much for your sample file. That really helps. I will try it out in my completed form and keep you posted if I run into any further issues&lt;/p&gt;&lt;p&gt;I thought it was really cool that in your verison you did not use any rules but just a clever way of writing the formula for total project score.&lt;/p&gt;&lt;p&gt;I would never have guessed it &lt;/p&gt;&lt;p&gt;Regards,&lt;/p&gt;&lt;p&gt;&amp;nbsp;- Sachin&lt;/p&gt;</description></item><item><title>Re: Translation of Excel IF/OR into INFOPATH</title><link>https://www.infopathdev.com:443/forums/thread/99640.aspx</link><pubDate>Fri, 17 Oct 2014 01:31:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:99640</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/99640.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=99640</wfw:commentRss><description>&lt;p&gt;Hi! So your rules are on the Total Project Score Field? But ... isn&amp;#39;t that the field who&amp;#39;s value you wish to set?&lt;/p&gt;
&lt;p&gt;A common error I&amp;#39;ve seen (and one I made a kajillion times when I started using InfoPath) was understanding that rules fire when a field changes. So in this case, Total Project Score would have to change before these rules fire.&lt;/p&gt;
&lt;p&gt;Instead, you should probably put your rules on alignment, profit margin, production support and material obsolescence. And I know - that seems like a lot of work to put the same rules on all these fields! The other option is to come up with a formula for the default value of Total Project Score that takes your caveat into account, but that can be a little tricky. I&amp;#39;m attaching a sample that does this - save the file locally, right click and select design to open in design mode - from there you can preview and try it out. I&amp;#39;m guessing you may have repeating data in your form so I included two versions.&lt;/p&gt;</description></item><item><title>Translation of Excel IF/OR into INFOPATH</title><link>https://www.infopathdev.com:443/forums/thread/99538.aspx</link><pubDate>Mon, 13 Oct 2014 16:08:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:99538</guid><dc:creator>Sachin Nayar</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/99538.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=99538</wfw:commentRss><description>&lt;p&gt;Hello everyone - I just started using Infopath 2013 a week ago. I am the process of preparing a request form in Infopath which was already prepared in Excel. However, I am having&amp;nbsp;a hard time writing the rule which was easily accomplished using Excel. I am not a computer programmer, am a Chemistry major so please dumb down your response for me to understand. &lt;/p&gt;&lt;p&gt;My form has 5 fields -&lt;/p&gt;&lt;p&gt;1. Total score&lt;/p&gt;&lt;p&gt;2. Alignment&lt;/p&gt;&lt;p&gt;3. Profit Margin&lt;/p&gt;&lt;p&gt;4. Production Support&lt;/p&gt;&lt;p&gt;5. Material Obsolescence&lt;/p&gt;&lt;p&gt;&amp;nbsp;Fields 2 thru 5 are assigned different scores (0,2,5,10) based on the Project nature. In Excel, I had the formula as follows -&lt;/p&gt;&lt;p&gt;IF(OR(F43=0,L40=0),0, SUM(F40:43,L40:43))&lt;/p&gt;&lt;p&gt;In other words, the total score should read the sum of alignment (0-10), profit margin (0-10, production support (0-10) and material obsolescence (0-10).&lt;/p&gt;&lt;p&gt;However, here&amp;#39;s the caveat - if alignment is scored a 0 OR material obsolescence is scored&amp;nbsp; 0, the total project score reads a 0 irrespective of what scores are assigned to profit margin or production support.&lt;/p&gt;&lt;p&gt;In Infopath, I already carried out the following under RULES for the total project score field -&lt;/p&gt;&lt;p&gt;New -&amp;gt; Action (not Validation or Formatting)&lt;/p&gt;&lt;p&gt;Condition -&amp;gt; alignment is equal to 0 or obsolescence is equal to 0 &lt;/p&gt;&lt;p&gt;Run these actions -&amp;gt; Action : Set a field&amp;#39;s value / Field&amp;nbsp;: totalprojectscore / Value : 0&lt;/p&gt;&lt;p&gt;New -&amp;gt; Action&lt;/p&gt;&lt;p&gt;Condition -&amp;gt; else -&amp;gt; alignment not equal to zero or obsolescence not equal to zero&lt;/p&gt;&lt;p&gt;Run these actions -&amp;gt; Action : Set a field&amp;#39;s value / Field : total project score / Value : sum(alignment | margin | support | obsolescence)&lt;/p&gt;&lt;p&gt;&amp;nbsp;For the life of me, I don&amp;#39;t understand why I don&amp;#39;t see any number in the total project score field?&lt;/p&gt;&lt;p&gt;&amp;nbsp;Any InfoPath experts out there - Can you please help?&lt;/p&gt;&lt;p&gt;Thanks in advance &lt;/p&gt;&lt;p&gt;- Sachin&lt;/p&gt;&lt;p&gt;&amp;nbsp;Can any InfoPath expert out there guide me to get started? &lt;/p&gt;</description></item></channel></rss>