Re: [INTERFACES] Re: NEW ODBC DRIVER

From: Sbragion Denis <infotecn(at)tin(dot)it>
To: Byron Nikolaidis <byronn(at)insightdist(dot)com>, "Jose' Soares Da Silva" <sferac(at)bo(dot)nettuno(dot)it>
Cc: interfaces postgres <pgsql-interfaces(at)postgreSQL(dot)org>
Subject: Re: [INTERFACES] Re: NEW ODBC DRIVER
Date: 1998-05-11 16:15:24
Message-ID: 3.0.5.32.19980511181524.007efe40@MBox.InfoTecna.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-interfaces

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Oliver Elphick 1998-05-11 16:30:07 Re: [QUESTIONS] money or dollar type
Previous Message Tom Lane 1998-05-11 15:42:55 Re: [HACKERS] Re: [QUESTIONS] money or dollar type

Browse pgsql-interfaces by date

  From Date Subject
Next Message Jackson, DeJuan 1998-05-11 17:07:44 RE: [INTERFACES] Re: NEW ODBC DRIVER
Previous Message Jose' Soares Da Silva 1998-05-11 13:25:03 Re: NEW ODBC DRIVER