Re: [INTERFACES] Postgres ODBC and SQL_BIT - Mailing list pgsql-interfaces

From Olaf Mittelstaedt
Subject Re: [INTERFACES] Postgres ODBC and SQL_BIT
Date
Msg-id 199809030535.HAA08990@gate.va.fh-ulm.de
Whole thread Raw
In response to Re: [INTERFACES] Postgres ODBC and SQL_BIT  (David Hartwig <daveh@insightdist.com>)
List pgsql-interfaces
> MS Access will not take any ODBC SQL data type and translate it into a check box.
> Other tool may do this but not MS Access.   Access only supports check boxes on
> Access databases.
>
> As for what Access it will do - The psqlodbc driver as options to treat postgresql
> bools as SQL_CHAR (t/f) or or SQL_BIT.  MS Access displays SQL_BIT as -1/0.

When migrating a database from native Access to Postgres I replaced
Boolean with Integers (0=false, -1=true), I had no problems to use
checkboxes connected with those fields.

Regards,
Olaf
--
Olaf Mittelstaedt - IuK - mittelstaedt@fh-ulm.de
Fachhochschule Ulm  Prittwitzstr. 10   89075 Ulm
Tel.: +49 (0)731-502-8220             Fax: -8270

 Ash nazg durbatulûk, ash nazg gimbatul,
  ash nazg thrakatulûk agh burzum-ishi krimpatul.


pgsql-interfaces by date:

Previous
From: Dean Neumann
Date:
Subject: How do I compile libpq++ and odbc?
Next
From: Peter T Mount
Date:
Subject: Re: [INTERFACES] Jdbc and oid