<?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: Formatting grid values?</title><link>http://forums.method.me/cs/forums/thread/12300.aspx</link><pubDate>Wed, 16 May 2012 21:41:34 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:12300</guid><dc:creator>Anonymous</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/12300.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=12300</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/cs/Themes/methodtheme/images/icon-quote.gif"&gt; &lt;strong&gt;smohyee:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;do you have a suggestion for the override script?&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;I got a tip from a team member here that if you use&amp;nbsp;QuantityOnHand as your SQL Override on the item grid column for Quantity On Hand you&amp;#39;ll have the display with no decimal places.&lt;/p&gt;
&lt;p&gt;~C&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Formatting grid values?</title><link>http://forums.method.me/cs/forums/thread/12263.aspx</link><pubDate>Tue, 15 May 2012 21:02:48 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:12263</guid><dc:creator>Anonymous</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/12263.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=12263</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/cs/Themes/methodtheme/images/icon-quote.gif"&gt; &lt;strong&gt;smohyee:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;do you have a suggestion for the override script?&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;I know a little SQL but not enough to advise you on the script. &amp;nbsp;CONVERT is probably the function you want in this respect and the best I can do is link you to an &lt;a target="_blank" title="MSDN article" href="http://msdn.microsoft.com/en-us/library/ms187928.aspx"&gt;MSDN article&lt;/a&gt; that explains this function a little more. &amp;nbsp;If you need help with writing the SQL you can definitely contact one of our consultants on this.&lt;/p&gt;
&lt;p&gt;~C&lt;/p&gt;</description></item><item><title>Re: Formatting grid values?</title><link>http://forums.method.me/cs/forums/thread/12258.aspx</link><pubDate>Tue, 15 May 2012 17:46:49 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:12258</guid><dc:creator>smohyee</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/12258.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=12258</wfw:commentRss><description>&lt;p&gt;Chad, I&amp;#39;m not an SQL programmer, do you have a suggestion for the override script?&lt;/p&gt;
&lt;p&gt;From what I&amp;#39;ve read, SQL is not really designed for formatting displayed information, but the best functions I could find are CAST and CONVERT. The following script doesn&amp;#39;t display any values in my quantity column:&lt;/p&gt;
&lt;p&gt;&lt;b&gt;SELECT CAST(viewaccItem.QuantityOnHand AS INT) FROM viewaccItem &lt;/b&gt;(I also have different WHERE statements I&amp;#39;ve added to the end, based off your sript generator&amp;#39;s recommondations)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Formatting grid values?</title><link>http://forums.method.me/cs/forums/thread/12194.aspx</link><pubDate>Fri, 11 May 2012 16:27:53 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:12194</guid><dc:creator>Anonymous</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/12194.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=12194</wfw:commentRss><description>&lt;p&gt;Smohyee,&lt;/p&gt;
&lt;p&gt;You could use a SQL override here - I hadn&amp;#39;t thought of this earlier but it is possible to override what&amp;#39;s shown in a grid with this feature.&lt;/p&gt;
&lt;p&gt;~C&lt;/p&gt;</description></item><item><title>Re: Formatting grid values?</title><link>http://forums.method.me/cs/forums/thread/12192.aspx</link><pubDate>Fri, 11 May 2012 15:26:37 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:12192</guid><dc:creator>Anonymous</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/12192.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=12192</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/cs/Themes/methodtheme/images/icon-quote.gif"&gt; &lt;strong&gt;smohyee:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;Can I modify the display format of grid values?&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;Not at this time, you would have to recreate the field in the table to adjust the decimal places. &amp;nbsp;See this &lt;a target="_blank" title="post" href="http://www.methodintegration.com/cs/forums/p/2325/8644.aspx#8644"&gt;post&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;~C&lt;/p&gt;</description></item><item><title>Formatting grid values?</title><link>http://forums.method.me/cs/forums/thread/12179.aspx</link><pubDate>Thu, 10 May 2012 23:18:27 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:12179</guid><dc:creator>smohyee</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/12179.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=12179</wfw:commentRss><description>&lt;p&gt;Hi all.&lt;/p&gt;
&lt;p&gt;I know that for individual fields placed on the screen, we have some control over the format of display, eg the number of decimal places for currency values.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can I modify the display format of grid values? For example, the &amp;quot;Quantity&amp;quot; column of my Item grid displays with two decimal places (&amp;quot;4.00&amp;quot;), and I&amp;#39;d like it to only display the integer.&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>