<?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: Calculations in a Text Box not displaying properly</title><link>https://www.infopathdev.com:443/forums/thread/24642.aspx</link><pubDate>Thu, 22 Nov 2007 11:44:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24642</guid><dc:creator>adamrharding</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24642.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=24642</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Had the bug a few times myself.&amp;nbsp; Create another field from scratch and delete the old field replacing it with the new one, format as you want.&amp;nbsp; I am guessing that the box is set as binary which is why it is only a 1 or 0.&lt;/p&gt;
&lt;p&gt;I think the box is greyed out where the field is connected to a database and the database datatype restricts the options like text.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;I hope this helps&lt;/p&gt;</description></item><item><title>Calculations in a Text Box not displaying properly</title><link>https://www.infopathdev.com:443/forums/thread/24633.aspx</link><pubDate>Wed, 21 Nov 2007 22:33:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24633</guid><dc:creator>hugs4thetrees</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24633.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=24633</wfw:commentRss><description>&lt;p&gt;This is really strange.&amp;nbsp; I&amp;#39;ve got a text box on a form that I have the default value set to the following big ol&amp;#39; calculation:&lt;/p&gt;
&lt;p&gt;(TR09RAW / TRELEMEARNED) * (((TR09ARAW / TRSUBEARNED09)* TR09AEARNED) * ((TR09BRAW / TR09SUBEARNED09) * TR09BEARNED))&lt;/p&gt;
&lt;p&gt;&amp;nbsp;This formula worked fine as an expression box but I needed to reference the value in another calc so I changed it to a Text box.&amp;nbsp; As a text box, it will only display the result&amp;nbsp;as a 1 or a 0...&amp;nbsp; BUT the field that references this value calculates properly and the correct calculation is saving to the table behind the scenes....&amp;nbsp; It&amp;#39;s calculating but not displaying the right number...&lt;/p&gt;
&lt;p&gt;&amp;nbsp;The text box is an Optional_double data type but the format button is grayed out so I can&amp;#39;t see if it is set to number or not beyond that...&amp;nbsp; speaking of, why is the format button sometimes grayed out anyway??&lt;/p&gt;
&lt;p&gt;Any suggestions?&amp;nbsp; Obviously I&amp;#39;m getting the number I need but I&amp;#39;d like to be able to display the proper intermediate numbers as well as the final calculation...&lt;/p&gt;</description></item></channel></rss>