From: | Byron Nikolaidis <byronn(at)insightdist(dot)com> |
---|---|
To: | Valerio Santinelli <tanis(at)mediacom(dot)it> |
Cc: | "pgsql-general(at)postgreSQL(dot)org" <pgsql-general(at)postgreSQL(dot)org> |
Subject: | Re: [GENERAL] Checkboxes on MSAccess and PostgreSQL |
Date: | 1999-01-18 17:20:25 |
Message-ID: | 36A36D59.D6064F6A@insightdist.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-interfaces |
Valerio Santinelli wrote:
> First of all.. thanks to everybody for helping me out witht the
> "sequence" stuff. :)
>
> I've got another questions for you dudes. When using a CheckBox in a
> Form written in MSAccess that's related to a table in a
> PostgreSQL database, if I simply turn its status from ON to OFF it works
> fine, while if i'm doing the opposite it won't work.
>
> I noticed that when exporting the table from MSAccess to PostgreSQL the
> "yes/no" fields all became char(1) and not boolean.. maybe this could be
> the problem.
>
> I also noticed from the logs that when updating the status from ON to
> OFF the UPDATE goes out with something like field_name='0'
> I'm not sure it should use the "'" since it's more like a numerical, no
> ?
>
Try setting the Advanced Driver Option "Bools as Char" to disabled. This
will cause the export to use a Boolean field in postgres.
Byron
From | Date | Subject | |
---|---|---|---|
Next Message | Dustin Sallings | 1999-01-18 17:43:19 | Re: [GENERAL] How to increment by hand a sequence number. |
Previous Message | Valerio Santinelli | 1999-01-18 17:11:31 | Checkboxes on MSAccess and PostgreSQL |
From | Date | Subject | |
---|---|---|---|
Next Message | William D. McCoy | 1999-01-18 17:30:26 | ODBC and Applixware on Linux |
Previous Message | Valerio Santinelli | 1999-01-18 17:11:31 | Checkboxes on MSAccess and PostgreSQL |