<?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: Currency change to Euros</title><link>http://forums.method.me/cs/forums/thread/27372.aspx</link><pubDate>Wed, 27 May 2015 17:27:12 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:27372</guid><dc:creator>Method_Audisho</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/27372.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=27372</wfw:commentRss><description>&lt;p class="p1"&gt;Hi Conner,&lt;/p&gt;
&lt;p class="p1"&gt;There is a script on the rate field directly to the left of the amount field that is causing this issue. It seems that .NET is able to convert a currency string to a double for calculations as long as it is a common format. Since &amp;ldquo;&amp;euro;0.00&amp;rdquo; isn&amp;rsquo;t a common format (at least according to .NET), this conversion fails and the error is thrown.&lt;/p&gt;
&lt;p class="p1"&gt;A script is needed to calculate the cost per item on the estimate print template because this may differ from the item cost after markup is added. You can find this script by selecting the &lt;b&gt;Rate&lt;/b&gt; field (xrItemPrice) and opening the &lt;b&gt;OnBeforePrint&lt;/b&gt;.&lt;/p&gt;
&lt;p class="p1"&gt;I&amp;rsquo;ve done some testing and you can fix this by using a calculated field for the rate instead of a script. Delete the current rate field and replace it with a calculated field with the expression &amp;ldquo;[Estimate.EstimateLine.Estimate.Amount] / [Estimate.EstimateLine.Estimate.Quantity]&amp;rdquo;. Then drag the calculated field onto your template in place of the rate field. This will allow you to use the format string &amp;ldquo;{0:&amp;euro;0.00}&amp;rdquo; on all of your fields without error including this new calculated field.&lt;/p&gt;
&lt;p class="p1"&gt;I hope this helps.&lt;/p&gt;
&lt;p class="p1"&gt;-Audisho&lt;/p&gt;</description></item><item><title>Re: Currency change to Euros</title><link>http://forums.method.me/cs/forums/thread/27367.aspx</link><pubDate>Wed, 27 May 2015 14:54:30 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:27367</guid><dc:creator>cdrryan</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/27367.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=27367</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;&lt;span id="mce_3_start" style="overflow:hidden;"&gt;&lt;img alt="" /&gt;&lt;span id="mce_4_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span id="mce_1_start" style="overflow:hidden;"&gt;&lt;span id="mce_2_start" style="overflow:hidden;"&gt;&lt;span id="mce_3_end" style="overflow:hidden;"&gt;&lt;span id="mce_4_end" style="overflow:hidden;"&gt;&lt;span id="mce_5_start" style="overflow:hidden;"&gt;&lt;span id="mce_6_start" style="overflow:hidden;"&gt;&lt;span id="mce_7_start" style="overflow:hidden;"&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;&lt;span id="mce_1_start" style="overflow:hidden;"&gt;&lt;span id="mce_2_start" style="overflow:hidden;"&gt;After testing it out further, the error only occurs when i add&amp;nbsp;&lt;span id="mce_3_start" style="overflow:hidden;"&gt;&lt;span id="mce_5_start" style="overflow:hidden;"&gt;&lt;span id="mce_6_start" style="overflow:hidden;"&gt;&lt;span id="mce_7_start" style="overflow:hidden;"&gt;&lt;span id="mce_8_start" style="overflow:hidden;"&gt;&lt;span id="mce_9_start" style="overflow:hidden;"&gt;&lt;span&gt;&amp;euro; to the&amp;nbsp;&lt;span id="mce_10_start" style="overflow:hidden;"&gt;EstimateLine.&lt;span id="mce_1_start" style="overflow:hidden;"&gt;calcAmount column. I have also tried EstimateLine.Amount in this area too.&lt;span id="mce_0_start" style="overflow:hidden;"&gt;&lt;span id="mce_1_start" style="overflow:hidden;"&gt; &lt;span id="mce_2_start" style="overflow:hidden;"&gt;I went into the script for estimateline.&lt;/span&gt;&lt;span id="mce_2_start" style="overflow:hidden;"&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;&lt;span id="mce_1_end" style="overflow:hidden;"&gt;&lt;span id="mce_3_end" style="overflow:hidden;"&gt;calctotalamount and clicked the default script button and it seems to work now. Not sure what I did, but I am no longer getting the error.&lt;span id="mce_4_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: Currency change to Euros</title><link>http://forums.method.me/cs/forums/thread/27366.aspx</link><pubDate>Wed, 27 May 2015 14:46:30 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:27366</guid><dc:creator>cdrryan</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/27366.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=27366</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;&lt;span id="mce_2_start" style="overflow:hidden;"&gt;Hey, to answer your questions:&amp;nbsp;&lt;/span&gt;I am customizing&amp;nbsp;&lt;span id="mce_1_start" style="overflow:hidden;"&gt;the stock estimate&amp;nbsp;report&lt;span id="mce_3_start" style="overflow:hidden;"&gt;, and I am not running any scripts&lt;span id="mce_16_start" style="overflow:hidden;"&gt; that I know of&lt;/span&gt;.&amp;nbsp;&lt;span id="mce_4_start" style="overflow:hidden;"&gt;&lt;span id="mce_5_start" style="overflow:hidden;"&gt;The data I am applying this to is the&amp;nbsp;&lt;span id="mce_6_start" style="overflow:hidden;"&gt;&lt;span id="mce_8_start" style="overflow:hidden;"&gt;&lt;span id="mce_9_start" style="overflow:hidden;"&gt;&lt;/span&gt;estimateline&lt;span id="mce_9_end" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;.rate, &lt;span id="mce_10_start" style="overflow:hidden;"&gt;estimateline&lt;span id="mce_9_end"&gt;&lt;/span&gt;&lt;/span&gt;.amount, and &lt;span id="mce_11_start" style="overflow:hidden;"&gt;estimateline&lt;span id="mce_9_end"&gt;&lt;/span&gt;&lt;/span&gt;.totalamount.&lt;span id="mce_18_start" style="overflow:hidden;"&gt; I know it has to do with this because when I change it back from&amp;nbsp;&lt;span id="mce_19_start" style="overflow:hidden;"&gt;&lt;span&gt;&amp;euro;0.00 to $0.00 it no longer gives me the error. When I choose currency/custom and enter in&amp;nbsp;&lt;span&gt;&amp;euro;0.00 and then come back it is selected as a number instead of a currency, could this be the issue?&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: Currency change to Euros</title><link>http://forums.method.me/cs/forums/thread/27365.aspx</link><pubDate>Wed, 27 May 2015 13:54:00 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:27365</guid><dc:creator>Method_Audisho</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/27365.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=27365</wfw:commentRss><description>&lt;p class="p1"&gt;Hi Conner,&lt;/p&gt;
&lt;p class="p1"&gt;I&amp;rsquo;ve tested this myself and it works fine for me. Allow me to ask a few questions for clarification.&lt;/p&gt;
&lt;p class="p1"&gt;Are you customizing a stock report or building your own from scratch?&amp;nbsp;&lt;/p&gt;
&lt;p class="p1"&gt;Are you running any custom scripts on the report?&amp;nbsp;&lt;/p&gt;
&lt;p class="p1"&gt;What data type is the field you are trying to apply this to?&amp;nbsp;&lt;/p&gt;
&lt;p class="p1"&gt;I&amp;rsquo;m unable to replicate this error. It seems that even if I apply the format string to an incorrect data type, Report Designer is intelligent enough to remove it or simply ignore it.&lt;/p&gt;
&lt;p class="p1"&gt;You can try having report designer build the format string for you. If you select the ellipsis &amp;lsquo;&amp;hellip;&amp;rsquo; button, the &lt;i&gt;FormatString Editor&lt;/i&gt; will be displayed. Select &lt;i&gt;Currency &amp;gt; Custom&lt;/i&gt; and enter &amp;ldquo;&amp;euro;0.00&amp;rdquo;. This simply builds the format string the I provided you previously.&lt;/p&gt;
&lt;p class="p1"&gt;-Audisho&lt;/p&gt;</description></item><item><title>Re: Currency change to Euros</title><link>http://forums.method.me/cs/forums/thread/27359.aspx</link><pubDate>Tue, 26 May 2015 23:01:11 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:27359</guid><dc:creator>cdrryan</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/27359.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=27359</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;When I change it and then click preview I am getting the error &amp;quot;&lt;span id="mce_1_start" style="overflow:hidden;"&gt;Index was out of range. Must be non-negative and less than the size of the collection. Parameter name:Index.&amp;quot;&lt;span id="mce_2_start" style="overflow:hidden;"&gt; After clicking ok on that I get the error &amp;quot;The following error occured when the script in procedure xrItemPrice.OnBeforePrint:Conversion from string &amp;quot;&amp;euro;&lt;span id="mce_4_start" style="overflow:hidden;"&gt;5210.00&amp;quot; to type &amp;quot;Double&amp;#39; is not valid. Procedure xrItemPrice.OnBeforePrint was executed, it will not be called again.&amp;quot;&lt;span id="mce_5_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;&lt;span id="mce_1_start" style="overflow:hidden;"&gt;&lt;span id="mce_2_start" style="overflow:hidden;"&gt;&lt;span id="mce_4_start" style="overflow:hidden;"&gt;&lt;span id="mce_5_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Is something wrong with the form is the preview just messing up?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Conner&lt;/p&gt;</description></item><item><title>Re: Currency change to Euros</title><link>http://forums.method.me/cs/forums/thread/27355.aspx</link><pubDate>Tue, 26 May 2015 19:49:50 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:27355</guid><dc:creator>Method_Audisho</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/27355.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=27355</wfw:commentRss><description>&lt;p class="p1"&gt;Hi Conner,&lt;/p&gt;
&lt;p class="p1"&gt;Use the format string &amp;ldquo;{0:&amp;euro;0.00}&amp;rdquo; to force euro as the currency symbol. This format string uses whatever symbol you include as the currency symbol and formats the number to 2 decimal places.&lt;/p&gt;
&lt;p class="p1"&gt;I hope this helps.&lt;/p&gt;
&lt;p class="p1"&gt;-Audisho&lt;/p&gt;</description></item><item><title>Currency change to Euros</title><link>http://forums.method.me/cs/forums/thread/27354.aspx</link><pubDate>Tue, 26 May 2015 19:27:58 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:27354</guid><dc:creator>cdrryan</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/27354.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=27354</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have a database that needs to display Euros at all times. I have gone into the customize tab and changed the default currency symbol in display to EUR. However, my forms are still showing $. I have looked at the formatstring of the fields in report designer but I do not see other currency symbol options. I know that c2 will change the currency depending on the location, but I need it to display Euros even for people using the account in the US. How can I make this change so that it stays EUROS for everyone in all screens/forms?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Conner&lt;/p&gt;</description></item></channel></rss>