<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.method.me/cs/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>Method:Classic General Q&amp;amp;A</title><link>http://forums.method.me/cs/forums/13.aspx</link><description>Ask technical support questions, how do I? Questions... Or anything else you want to know from the Method Team and other Method users.</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 SP2 (Build: 31113.47)</generator><item><title>Re: Report Designer Not Formatting Money Field Correctly</title><link>http://forums.method.me/cs/forums/thread/30015.aspx</link><pubDate>Wed, 16 Dec 2015 21:22:29 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:30015</guid><dc:creator>Method_Loi</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/30015.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=30015</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;Hey Aaron,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;&lt;/span&gt;That&amp;#39;s&lt;span id="mce_1_start" style="overflow:hidden;"&gt;&lt;/span&gt; great news that you were able to figure the formatting out.&lt;span id="mce_5_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;-- Loi&lt;span id="mce_4_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: Report Designer Not Formatting Money Field Correctly</title><link>http://forums.method.me/cs/forums/thread/30009.aspx</link><pubDate>Wed, 16 Dec 2015 15:16:17 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:30009</guid><dc:creator>aaronjwood</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/30009.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=30009</wfw:commentRss><description>&lt;p&gt;&lt;span style="overflow:hidden;" id="mce_0_start"&gt;I was wrong...there was in fact a script being applied to the field in order to calculate the price of the item. The formatting was hard coded into the script. I updated the format to &amp;quot;c&amp;quot; &lt;span style="overflow:hidden;" id="mce_1_start"&gt;in the script &lt;/span&gt;which is the standard format for currency and it works fine now. &lt;span style="overflow:hidden;" id="mce_3_start"&gt;I will paste the line below in case others find it helpful. &lt;/span&gt;Sorry for any confusion.&lt;span style="overflow:hidden;" id="mce_4_start"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;" id="mce_0_start"&gt;&lt;span style="overflow:hidden;" id="mce_4_start"&gt;&lt;/span&gt;&lt;span style="overflow:hidden;" id="mce_2_start"&gt;Replaced: &lt;span style="overflow:hidden;" id="mce_5_start"&gt;&lt;/span&gt;&lt;span style="overflow:hidden;" id="mce_7_start"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;" id="mce_0_start"&gt;&lt;span style="overflow:hidden;" id="mce_2_start"&gt;&lt;span style="overflow:hidden;" id="mce_7_start"&gt;&lt;/span&gt;xrItemPrice.Text = Microsoft.VisualBasic.Format(xrItemAmount.Text / xrItemQuantity.Text,&amp;quot;$#,##0.00###&amp;quot;)&lt;br /&gt;&lt;span style="overflow:hidden;" id="mce_6_start"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;" id="mce_0_start"&gt;&lt;span style="overflow:hidden;" id="mce_2_start"&gt;&lt;span style="overflow:hidden;" id="mce_6_start"&gt;&lt;/span&gt;With&lt;span style="overflow:hidden;" id="mce_8_start"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;" id="mce_0_start"&gt;&lt;span style="overflow:hidden;" id="mce_2_start"&gt;&lt;span style="overflow:hidden;" id="mce_8_start"&gt;&lt;/span&gt;xrItemPrice.Text = Microsoft.VisualBasic.Format(xrItemAmount.Text / xrItemQuantity.Text,&amp;quot;c&amp;quot;)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Report Designer Not Formatting Money Field Correctly</title><link>http://forums.method.me/cs/forums/thread/30007.aspx</link><pubDate>Wed, 16 Dec 2015 04:09:15 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:30007</guid><dc:creator>aaronjwood</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/30007.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=30007</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Today we noticed that our customer estimate report was showing the price for one of the line items as $641.66333. &lt;span style="overflow:hidden;" id="mce_7_start"&gt;The other line items all were displayed correclty with 2 decimal places but all of these ended in 00 (such as &lt;span style="overflow:hidden;" id="mce_8_start"&gt;$&lt;/span&gt;1100.00). &lt;/span&gt;I thought it had to do with the formatting in the report design, but the format&lt;span style="overflow:hidden;" id="mce_9_start"&gt; for the field&lt;/span&gt; is set correctly &lt;span style="overflow:hidden;" id="mce_10_start"&gt;to {0:$0.00}&lt;/span&gt;. I tried different formats but they did not effect how the number was displayed. &lt;span style="overflow:hidden;" id="mce_11_start"&gt;When I set the fomatting to {0:#.00} the dollar sign was still printed and the 5 decimal places still printed on the one line item. &lt;/span&gt;I made sure there were no scripts in the report and then tried it with the&lt;span style="overflow:hidden;" id="mce_0_start"&gt;&lt;/span&gt; default &lt;span style="overflow:hidden;" id="mce_12_start"&gt;&amp;quot;S&lt;/span&gt;imple Estimate&amp;quot; report. I had the same formatting issue with the&lt;span style="overflow:hidden;" id="mce_1_start"&gt;&lt;/span&gt; stock report.&lt;span style="overflow:hidden;" id="mce_2_start"&gt; The field being displayed &lt;span style="overflow:hidden;" id="mce_3_start"&gt;incorrectly &lt;/span&gt;is &lt;span style="overflow:hidden;" id="mce_4_start"&gt;&lt;/span&gt;&lt;span style="overflow:hidden;" id="mce_4_end"&gt;[EstimateLine.Estimate.Rate] which is a &amp;quot;Money&amp;quot; field. It look like the formatting &lt;span style="overflow:hidden;" id="mce_5_start"&gt;&lt;/span&gt;in the report designed&lt;span style="overflow:hidden;" id="mce_6_start"&gt;r is being ignored when being applied to this type of field when it has more than two decimal places.&lt;span style="overflow:hidden;" id="mce_13_start"&gt; Any ideas on why this is happening?&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;" id="mce_2_start"&gt;&lt;span style="overflow:hidden;" id="mce_4_end"&gt;&lt;span style="overflow:hidden;" id="mce_6_start"&gt;&lt;span style="overflow:hidden;" id="mce_13_start"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;--Aaron&lt;/p&gt;</description></item></channel></rss>