<?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: Math Problem</title><link>https://www.infopathdev.com:443/forums/thread/94174.aspx</link><pubDate>Thu, 07 Nov 2013 17:36:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94174</guid><dc:creator>smonczka</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94174.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=94174</wfw:commentRss><description>Yes it makes total sence, thank you!</description></item><item><title>Re: Math Problem</title><link>https://www.infopathdev.com:443/forums/thread/94155.aspx</link><pubDate>Thu, 07 Nov 2013 00:28:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94155</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94155.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=94155</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;You got it. So - one thing it took me a while to understand but that is &lt;strong&gt;very important&lt;/strong&gt; is that rules only execute when the field they are &lt;em&gt;on&lt;/em&gt; changes. When you check the box, there is nothing in units. We don&amp;#39;t want to run the rule if there is nothing in units, so we add a condition to protect about that. When you change units, if the box is checked, we want to run the same rule. So - the rule depends on Units &amp;amp; on the checkbox, thus the rule needs to be on &lt;strong&gt;both&lt;/strong&gt; fields, and conditions need to take &lt;strong&gt;both&lt;/strong&gt; fields into account. Make sense?&lt;/p&gt;</description></item><item><title>Re: Math Problem</title><link>https://www.infopathdev.com:443/forums/thread/94154.aspx</link><pubDate>Thu, 07 Nov 2013 00:08:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94154</guid><dc:creator>smonczka</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94154.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=94154</wfw:commentRss><description>&lt;p&gt;Hilary, Thank you so much!&amp;nbsp; I see what you did but why did that fix it? Is it because the rules only run on update to the field.&amp;nbsp; So you would check off the box, the rule would run but there was nothing in the Unit field.&amp;nbsp; So you added the rules to the unit field so when the unit field is updated the rule runs again?&lt;/p&gt;</description></item><item><title>Re: Math Problem</title><link>https://www.infopathdev.com:443/forums/thread/94133.aspx</link><pubDate>Wed, 06 Nov 2013 15:05:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94133</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94133.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=94133</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;When you reply to a post, one of the tabs is Options. You can attach a file under the Options tab. Here&amp;#39;s your example back - I&amp;#39;ve added additional conditions and rules (checkbox &amp;amp; units field).&lt;/p&gt;</description></item><item><title>Re: Math Problem</title><link>https://www.infopathdev.com:443/forums/thread/94113.aspx</link><pubDate>Wed, 06 Nov 2013 02:14:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94113</guid><dc:creator>smonczka</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94113.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=94113</wfw:commentRss><description>&lt;p&gt;Hillary I do need your help.&amp;nbsp; If you open the link below (I see no way of attaching files in this forum) you will see what the issue is.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;There are several rows in the form just like this one.&amp;nbsp; The user checks off a row and then populates the number of unites.&amp;nbsp; The last field is the total of Hours / Units.&amp;nbsp;&amp;nbsp;A rule runs when the check box is checked If True then total = Hours / Units.&amp;nbsp; If false then total = 0.&amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;table class="MsoNormalTable" style="mso-cellspacing:1.5pt;mso-yfti-tbllook:1184;mso-padding-alt:0in 0in 0in 0in;" cellpadding="0" class="MsoNormalTable"&gt;

&lt;tr style="HEIGHT:9pt;mso-yfti-irow:0;mso-yfti-firstrow:yes;"&gt;
&lt;td style="BORDER-TOP:#f0f0f0;HEIGHT:9pt;BORDER-RIGHT:#f0f0f0;BORDER-BOTTOM:#f0f0f0;PADDING-BOTTOM:0in;PADDING-TOP:0in;PADDING-LEFT:0in;BORDER-LEFT:#f0f0f0;PADDING-RIGHT:0in;BACKGROUND-COLOR:transparent;" colspan="2"&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="mso-yfti-irow:1;mso-yfti-lastrow:yes;"&gt;
&lt;td style="BORDER-TOP:#f0f0f0;BORDER-RIGHT:#f0f0f0;BORDER-BOTTOM:#f0f0f0;PADDING-BOTTOM:0in;PADDING-TOP:0in;PADDING-LEFT:1.9pt;BORDER-LEFT:#f0f0f0;PADDING-RIGHT:6pt;BACKGROUND-COLOR:transparent;"&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;a href="https://skydrive.live.com/redir.aspx?cid=f4226716c0ffa06f&amp;amp;page=self&amp;amp;resid=F4226716C0FFA06F!7819&amp;amp;parid=F4226716C0FFA06F!245&amp;amp;authkey=!&amp;amp;Bpub=SDX.SkyDrive&amp;amp;Bsrc=Share" target="_blank"&gt;&lt;span style="TEXT-DECORATION:none;text-underline:none;"&gt;&lt;img id="_x0000_i1025" style="BORDER-LEFT-WIDTH:0in;HEIGHT:16px;BORDER-RIGHT-WIDTH:0in;WIDTH:16px;VERTICAL-ALIGN:bottom;BORDER-BOTTOM-WIDTH:0in;BORDER-TOP-WIDTH:0in;" border="0" src="https://p.sfx.ms/ftype/v4/Xsn.png" alt="" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;
&lt;td style="BORDER-TOP:#f0f0f0;BORDER-RIGHT:#f0f0f0;BORDER-BOTTOM:#f0f0f0;PADDING-BOTTOM:0in;PADDING-TOP:0in;PADDING-LEFT:0in;BORDER-LEFT:#f0f0f0;PADDING-RIGHT:1.9pt;BACKGROUND-COLOR:transparent;"&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;a href="https://skydrive.live.com/redir.aspx?cid=f4226716c0ffa06f&amp;amp;page=self&amp;amp;resid=F4226716C0FFA06F!7819&amp;amp;parid=F4226716C0FFA06F!245&amp;amp;authkey=!&amp;amp;Bpub=SDX.SkyDrive&amp;amp;Bsrc=Share" target="_blank"&gt;&lt;span style="TEXT-DECORATION:none;text-underline:none;"&gt;&lt;font color="#0000ff"&gt;Example.xsn&lt;/font&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</description></item><item><title>Re: Math Problem</title><link>https://www.infopathdev.com:443/forums/thread/94112.aspx</link><pubDate>Wed, 06 Nov 2013 01:56:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94112</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94112.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=94112</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I&amp;#39;m confused - where are you putting the formula? As a default in Field A? B? C? Maybe attach a sample form and un-confuse me? :)&lt;/p&gt;</description></item><item><title>Re: Math Problem</title><link>https://www.infopathdev.com:443/forums/thread/94111.aspx</link><pubDate>Wed, 06 Nov 2013 00:14:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94111</guid><dc:creator>smonczka</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94111.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=94111</wfw:commentRss><description>&lt;p&gt;Hilary that worked, but I have developed another issue, unrelated to the first.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;Field A / Field B = Field C&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Returns&amp;nbsp;Error &amp;quot;Infiniti&amp;quot;&lt;/p&gt;
&lt;p&gt;Not sure why this is happening. If A = 4 and B = 2&amp;nbsp;&amp;nbsp; C should = 2 But I get an error.&amp;nbsp;&amp;nbsp;If I go into the text box properties of C and put in the formula 4&amp;nbsp;/ 2&amp;nbsp; it works.&amp;nbsp; But if I put in the properties of the text box&amp;nbsp;(fieldA /&amp;nbsp;fieldB)&amp;nbsp;I get an error.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Math Problem</title><link>https://www.infopathdev.com:443/forums/thread/94110.aspx</link><pubDate>Tue, 05 Nov 2013 23:40:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94110</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94110.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=94110</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;It doesn&amp;#39;t appear to me that this would be a divide by zero error - you are dividing by .5, right? At any rate, maybe try adding an XPath filter on B.&lt;/p&gt;&lt;p&gt;C = A + ((B[. != &amp;#39;&amp;#39;] + A) / .5)&lt;/p&gt;</description></item><item><title>Math Problem</title><link>https://www.infopathdev.com:443/forums/thread/94098.aspx</link><pubDate>Tue, 05 Nov 2013 16:54:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94098</guid><dc:creator>smonczka</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94098.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=94098</wfw:commentRss><description>&lt;p&gt;Having an issue trying to&amp;nbsp;write a formula for a field.&lt;/p&gt;&lt;p&gt;I have three cells&amp;nbsp;A B C&lt;/p&gt;&lt;p&gt;A = Hours for Job 1 (there will always be a number in this field)&lt;/p&gt;&lt;p&gt;B = Hours for Job 2 (there may not be an entry for this field)&lt;/p&gt;&lt;p&gt;C&amp;nbsp;= A + ((B+A) /.5)&lt;/p&gt;&lt;p&gt;The issue comes in when there&amp;nbsp;is no entry for field B (B =0).&amp;nbsp; Then I&amp;nbsp;get&amp;nbsp;NaN because you can&amp;#39;t&amp;nbsp;divide by 0.&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>