Re: [INTERFACES] Postgres ODBC and SQL_BIT

From: "Olaf Mittelstaedt" <mstaedt(at)va-sigi(dot)va(dot)fh-ulm(dot)de>
To: pgsql-interfaces(at)postgreSQL(dot)org
Cc: pgsql-interfaces(at)postgreSQL(dot)org
Subject: Re: [INTERFACES] Postgres ODBC and SQL_BIT
Date: 1998-09-03 06:34:28
Message-ID: 199809030535.HAA08990@gate.va.fh-ulm.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)fh-ulm(dot)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.

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Eric Marsden 1998-09-03 09:49:12 Re: [INTERFACES] Mac GUI Interfaces
Previous Message Dean Neumann 1998-09-03 03:27:34 How do I compile libpq++ and odbc?