<?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: NaN error in calculation after deleting field content</title><link>https://www.infopathdev.com:443/forums/thread/42008.aspx</link><pubDate>Sun, 24 May 2009 09:04:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42008</guid><dc:creator>firouz</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42008.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=42008</wfw:commentRss><description>&lt;p&gt;&lt;strong&gt;This&lt;/strong&gt; is a calculations formula that has 3 states: &lt;/p&gt;
&lt;p&gt;1-When field1 is not blank, but others are blank, it has&amp;nbsp;one special&amp;nbsp;formula. &lt;/p&gt;
&lt;p&gt;2-when field 1 and field 2 is not blank another formula,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;3-&amp;nbsp;when 3 fields are not blank an other formula. it is important to treat the blank fields not as zero.&lt;/p&gt;
&lt;p&gt;I have changed my conditional formatting, Instead of &lt;strong&gt;Is blank&lt;/strong&gt; and &lt;strong&gt;Is not blank&lt;/strong&gt; I have used &lt;strong&gt;Does match pattern&lt;/strong&gt; and &lt;strong&gt;Does not match pattern,&lt;/strong&gt;&amp;nbsp;in the conditions. the custom pattern is: &lt;u&gt;.+&lt;/u&gt;&amp;nbsp; (&lt;strong&gt;any character) (one or more&lt;/strong&gt;)&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;I dont Know exactly why&lt;/strong&gt;&lt;/em&gt;, but now it works and show the result value correctly after&amp;nbsp;deleting&amp;nbsp;any values. Thanks for all and hope to be useful for others!&lt;/p&gt;</description></item><item><title>Re: NaN error in calculation after deleting field content</title><link>https://www.infopathdev.com:443/forums/thread/42003.aspx</link><pubDate>Sun, 24 May 2009 06:47:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42003</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42003.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=42003</wfw:commentRss><description>&lt;p&gt;Conditional formatting doesn&amp;#39;t actually have any effect on mathematical calculations.&amp;nbsp; I think that&amp;#39;s part of the reason why you&amp;#39;re experiencing unexpected behavior.&lt;/p&gt;
&lt;p&gt;Could you post your formula in this thread with a little description of the various fields?&amp;nbsp; There may be a way to filter out the blank values from your calculation.&lt;/p&gt;</description></item><item><title>Re: NaN error in calculation after deleting field content</title><link>https://www.infopathdev.com:443/forums/thread/42002.aspx</link><pubDate>Sun, 24 May 2009 06:14:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42002</guid><dc:creator>firouz</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42002.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=42002</wfw:commentRss><description>&lt;p&gt;before putting value it is blank and it&amp;nbsp;has formulas that works withe the conditional formatting:&amp;nbsp;&lt;u&gt;&lt;strong&gt;is blank&lt;/strong&gt;&lt;/u&gt; and &lt;u&gt;&lt;strong&gt;Is not blank.&lt;/strong&gt;&lt;/u&gt;&amp;nbsp; the type is number and it dosent have data validation or Cannot Be Blank checked. it is nessessary for&amp;nbsp;some fields to be blank because the formulas depend on this condition so I can not use the feature to render blank values as 0. 0 would affects on my formula. The main problem is that it does not back to the &lt;strong&gt;NULL&lt;/strong&gt;!!&lt;/p&gt;
&lt;p&gt;I have found a solution but I didnot test it yet. Its by using conditional formatting &lt;strong&gt;regular expresion&lt;/strong&gt; and &lt;strong&gt;match patterns&lt;/strong&gt;. I will test and of course post it here.&lt;/p&gt;</description></item><item><title>Re: NaN error in calculation after deleting field content</title><link>https://www.infopathdev.com:443/forums/thread/41999.aspx</link><pubDate>Sat, 23 May 2009 16:50:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:41999</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/41999.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=41999</wfw:commentRss><description>&lt;p&gt;What value is in Result before someone puts anything?&amp;nbsp; It should display the same before and after deletion when the field is empty.&amp;nbsp; Are those fields of the Number data type?&amp;nbsp; Do you have data validation or Cannot be blanked checked?&amp;nbsp; Is it ok for some fields to be blank?&amp;nbsp; If someone deletes a field, it should just go back to null unless you have set your form to treat null as 0.&amp;nbsp; If your formula is invalid if a certain field is 0, then you need to fix that and not allow it to be blank or 0.&lt;/p&gt;</description></item><item><title>NaN error in calculation after deleting field content</title><link>https://www.infopathdev.com:443/forums/thread/41998.aspx</link><pubDate>Sat, 23 May 2009 14:29:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:41998</guid><dc:creator>firouz</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/41998.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=41998</wfw:commentRss><description>&lt;p&gt;&amp;nbsp; I have got my best answers in this site.&amp;nbsp;I hope to help me in this case again dear friends&lt;/p&gt;
&lt;p&gt;&amp;nbsp;My problem is:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I have 3 fields, users will fill these fields. there is formulas in all 3 fields that dynamically calculate and fill a feild named &lt;strong&gt;Result. &lt;/strong&gt;every thing is ok untill user Delet a value. formula can not detect the value after deleting so the conditions do not work and set NaN in the Feild &lt;strong&gt;Result &lt;/strong&gt;!!&lt;/p&gt;
&lt;p&gt;How can I introduce the value of Deleted value in my conditional formatting? how the formula can detect that the value is deleted?&lt;/p&gt;
&lt;p&gt;any help would be appreciated &lt;/p&gt;</description></item></channel></rss>