Re: [Maybe Spam] Some troubles with Access and bool

From: Jean-Max Reymond <jmreymond(at)gmail(dot)com>
To: pgsql-odbc(at)postgresql(dot)org
Subject: Re: [Maybe Spam] Some troubles with Access and bool
Date: 2004-10-14 17:00:46
Message-ID: 4b09a0c041014100033df49de@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

On Thu, 14 Oct 2004 04:04:27 +0200, Jean-Max Reymond
<jmreymond(at)gmail(dot)com> wrote:
> On Wed, 13 Oct 2004 09:17:13 -0400, Greg Campbell
> <greg(dot)campbell(at)us(dot)michelin(dot)com> wrote:
> > DSN ODBC Driver options
> > Page 2 - check row versioning
>
> now, it is checked but same issue.
> I have set the driver trace on but not helpful for me :-(

Yeah, my problem is solved :-)
With the help of the odbc file log, I have got the request sent to the
Postgres database.
So, the request is:
DELETE from jmbool where icompt=23 and mybool='0';
but unfortunatly, value of mybool was null and not false because never
initalized.

Access read a value null for a bool type and interprets as false.
the DELETE was denied because not succesfull and Acess says that
another user has changed the record !!!!
Now, the field myboll has a default value as false, all the database
is upgraded and all works fine :-)

--
Jean-Max Reymond
CKR Solutions
http://www.ckr-solutions.com

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Fred Parkinson 2004-10-14 19:46:06 cannot connect from Windows 2000
Previous Message Jean-Max Reymond 2004-10-14 02:04:27 Re: [Maybe Spam] Some troubles with Access and bool