<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>DB/C Users</title>
		<link>http://dbcusers.com</link>
		<description>DB/C and PL/B language download,reference and resource site</description>
		<language>en</language>
		<lastBuildDate>Mon, 06 Sep 2010 00:46:41 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.dbcusers.com/images/misc/rss.jpg</url>
			<title>DB/C Users</title>
			<link>http://dbcusers.com</link>
		</image>
		<item>
			<title>Select sum(x) in fs</title>
			<link>http://dbcusers.com/showthread.php?t=154&amp;goto=newpost</link>
			<pubDate>Tue, 24 Aug 2010 09:47:18 GMT</pubDate>
			<description><![CDATA[Hi, 
 
I'm trying to use SELECT SUM(X) FROM Table, but I don't get the expected result on the query as the sum is truncated to hold as many digits as...]]></description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I'm trying to use SELECT SUM(X) FROM Table, but I don't get the expected result on the query as the sum is truncated to hold as many digits as X is specified in the table design. If X is declared FORM 1 in DB/C I will get an incorrect answer as soon as the total is greater than 9.<br />
<br />
I'm running DB/C 14.0 in UNIX and FS 4.0. The query is tested both in EXCEL VBA and in .NET that use FS 4.0 ODBC driver.<br />
<br />
Any ideas why the result is truncated ?<br />
<br />
Also using CAST within a SUM does not work as expected. Is that not possible<br />
or is there some hidden language to use ?<br />
<br />
Best regards<br />
Lars Westerlund</div>

]]></content:encoded>
			<category domain="http://dbcusers.com/forumdisplay.php?f=6">Open DB/C discussion</category>
			<dc:creator>Lars Westerlund</dc:creator>
			<guid isPermaLink="true">http://dbcusers.com/showthread.php?t=154</guid>
		</item>
	</channel>
</rss>
