Received: from u1.abs.net (root@u1.abs.net [207.114.0.131]) by hub.org (8.8.8/8.7.5) with ESMTP id JAA02427 for ; Mon, 11 May 1998 09:16:39 -0400 (EDT) Received: from insightdist.com (nobody@localhost) by u1.abs.net (8.8.5/8.8.5(+AntiRelay)) with UUCP id JAA27726 for pgsql-interfaces@PostgreSQL.org; Mon, 11 May 1998 09:00:06 -0400 (EDT) X-Authentication-Warning: u1.abs.net: nobody set sender to insightdist.com!byronn using -f Received: from ceodev by insightdist.com (AIX 3.2/UCB 5.64/4.03) id AA28998; Mon, 11 May 1998 08:42:33 -0400 Received: from ppp0_ceodev by ceodev (AIX 4.1/UCB 5.64/4.03) id AA70668; Mon, 11 May 1998 08:42:32 -0400 Message-Id: <3556F090.A50BC11D@insightdist.com> Date: Mon, 11 May 1998 08:35:29 -0400 From: Byron Nikolaidis X-Mailer: Mozilla 4.05 [en] (Win95; I) Mime-Version: 1.0 To: "Jose' Soares Da Silva" Cc: interfaces postgres Subject: Re: NEW ODBC DRIVER References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Jose' Soares Da Silva wrote: > I have a problem with types. > I created a table with a column of type money and another with type > bool, Access translate money to numeric (double precision) and bool to > text. > I thought that Access recognized this types as Money and Yes/No. > Is it an ODBC or a PostgreSQL problem ? > Thanks, Jose' In my tests, Access never bothered to retrieve the information returned by the driver which says that the field is a MONEY type. I chose to make it a numeric, but I could make it character, which would allow you to see the money symbols, but I'm not sure if you could perform calculations on it? As for the BOOL problem, I tried to return it as a SQL_BOOL, but Access displayed it as 0=FALSE, and (-1)=TRUE. Why does TRUE translate to a -1, I have no idea. But for that reason, I chose to make it a character type instead. I could add options to the setup dialog for handling these two types, if anyone's interested. Byron