Received: from mail.tol.it (mail.tin.it [194.243.154.49]) by hub.org (8.8.8/8.7.5) with ESMTP id MAA03896 for ; Mon, 11 May 1998 12:55:58 -0400 (EDT) Received: from Server.InfoTecna.com (Monza6-106.tin.it [195.103.249.105]) by mail.tol.it (8.8.4/8.8.4) with ESMTP id SAA03479; Mon, 11 May 1998 18:55:52 +0200 (MET DST) Received: from tm3.InfoTecna.com (Tm1.InfoTecna.com [192.168.1.1]) by Server.InfoTecna.com (8.8.5/8.8.5) with SMTP id SAA06782; Mon, 11 May 1998 18:15:25 +0200 Message-Id: <3.0.5.32.19980511181524.007efe40@MBox.InfoTecna.com> X-Sender: denis@MBox.InfoTecna.com X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32) Date: Mon, 11 May 1998 18:15:24 +0200 To: Byron Nikolaidis , "Jose' Soares Da Silva" From: Sbragion Denis Subject: Re: [INTERFACES] Re: NEW ODBC DRIVER Cc: interfaces postgres In-Reply-To: <3556F090.A50BC11D@insightdist.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Hello, At 08.35 11/05/98 -0400, Byron Nikolaidis wrote: >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. This is an MS brain damage implementation of Booleans. It is used this way starting from MS Access 1.0 up to VB 5.0. I don't know why MS decided to use this convention in the early MS Access 1.0 age but for compatibility reason they had to retain it up to the most recent version of their development programs. Bye ! Dr. Sbragion Denis InfoTecna Tel, Fax: +39 39 2324054 URL: http://space.tin.it/internet/dsbragio