<?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: Calcuations have stopped working suddenly</title><link>https://www.infopathdev.com:443/forums/thread/81988.aspx</link><pubDate>Sat, 25 Aug 2012 17:01:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81988</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81988.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=81988</wfw:commentRss><description>&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;Gennady Vanin (Геннадий Ванин, Новосибирск):&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;p&gt;Though, what are the operands for creating boolean expressions. I tried &amp;quot;&amp;amp;&amp;quot; and &amp;quot;AND&amp;quot;, they give errors&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;&lt;p&gt;It would be &lt;strong&gt;or&lt;/strong&gt; and &lt;strong&gt;and&lt;/strong&gt; (all lowercase).&lt;/p&gt;</description></item><item><title>Re: Calcuations have stopped working suddenly</title><link>https://www.infopathdev.com:443/forums/thread/81980.aspx</link><pubDate>Sat, 25 Aug 2012 06:10:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81980</guid><dc:creator>Gennady Vanin (Геннадий Ванин, Новосибирск)</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81980.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=81980</wfw:commentRss><description>&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;Jimmy:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;but it looks like all of the fields used for the&amp;nbsp;checkboxes in that section are starting off with the value &lt;b&gt;false&lt;/b&gt; instead of 0, and that&amp;#39;s what&amp;#39;s causing the NaN.&amp;nbsp; It&amp;#39;s possible to fix this by changing them all back in the Default Values dialog (on the Data tab),&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&amp;nbsp;&lt;p&gt;This will help only until the first publishing or opening the template from sharepoint upon which Default 1 is reset to &amp;quot;TRUE&amp;quot; and 0 to &amp;quot;FALSE&amp;quot;&lt;/p&gt;&lt;p&gt;I would have changed the default of checkboxes to blank with &amp;quot;Treat blank values as zeros&amp;quot; in Form Options&amp;gt;Advanced. This prevents them from auto-resetting and errors in calculation&lt;/p&gt;&lt;p&gt;Though, what are the operands for creating boolean expressions. I tried &amp;quot;&amp;amp;&amp;quot; and &amp;quot;AND&amp;quot;, they give errors&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Calcuations have stopped working suddenly</title><link>https://www.infopathdev.com:443/forums/thread/81975.aspx</link><pubDate>Fri, 24 Aug 2012 19:19:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81975</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81975.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=81975</wfw:commentRss><description>&lt;p&gt;Not sure what would have caused the change, but it looks like all of the fields used for the&amp;nbsp;checkboxes in that section are starting off with the value &lt;strong&gt;false&lt;/strong&gt; instead of 0, and that&amp;#39;s what&amp;#39;s causing the NaN.&amp;nbsp; It&amp;#39;s possible to fix this by changing them all back in the Default Values dialog (on the Data tab), but with the possibility that this might happen again, you can make your formula more fault tolerant, like this:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&amp;nbsp;sum((firstField | secondField | thirdField | ... | lastField)[. &amp;gt; 0])&lt;/p&gt;&lt;/blockquote&gt;</description></item><item><title>Calcuations have stopped working suddenly</title><link>https://www.infopathdev.com:443/forums/thread/81974.aspx</link><pubDate>Fri, 24 Aug 2012 18:02:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81974</guid><dc:creator>lanhamkd</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81974.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=81974</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ve been working on an new for and I&amp;#39;ve run into a snag. Here&amp;#39;s the link to the file if you want to take a look. &lt;a href="http://www.msha.com/teds/help_template.xsn"&gt;http://www.msha.com/teds/help_template.xsn&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I have a field (&lt;strong&gt;ChkBxValid)&lt;/strong&gt; at the bottom a view (&lt;strong&gt;Edit Items)&lt;/strong&gt; which is critical to other functions in my form. This field is supposed to total the values of the check boxes in a table called &lt;strong&gt;Project Type&lt;/strong&gt; which is also in the Edit Items view. For some reason it only displays&lt;strong&gt; NaN&lt;/strong&gt; in the field instead of a number. The strange thing is, it was working and suddenly stopped. All I did was add some rules to a different view (&lt;strong&gt;ProjectDetails&lt;/strong&gt;) that hide/unhide tables based on which check boxes were selected on the previous page. Yes, I went back through and retried adding and removing all of the rules on the second view to find the one that caused the problem but nothing worked. I even deleted the entire view! &lt;/p&gt;
&lt;p&gt;&amp;nbsp;I&amp;#39;ve been working on this for two days now and cannot get it resolved so I&amp;#39;m just about ready to pull my hair out - and I don&amp;#39;t have that much to begin with! Help please! &lt;/p&gt;</description></item></channel></rss>