pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jean-Max Reymond <jmreymond@gmail.com>
To: pgsql-odbc@postgresql.org
Subject: Re: [Maybe Spam] Some troubles with Access and bool
Date: Thu, 14 Oct 2004 19:00:46 +0200
Message-ID: <4b09a0c041014100033df49de@mail.gmail.com> (raw)
In-Reply-To: <4b09a0c04101319045974ba15@mail.gmail.com>
References: <4b09a0c04101213324a920471@mail.gmail.com>
	<416D2AD9.6080406@us.michelin.com>
	<4b09a0c04101319045974ba15@mail.gmail.com>

On Thu, 14 Oct 2004 04:04:27 +0200, Jean-Max Reymond
<jmreymond@gmail.com> wrote:
> On Wed, 13 Oct 2004 09:17:13 -0400, Greg Campbell
> <greg.campbell@us.michelin.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



view thread (5+ messages)

Message-ID: <4b09a0c041014100033df49de@mail.gmail.com>
Permalink:  ../4b09a0c041014100033df49de@mail.gmail.com/
Also on:    postgresql.org/message-id/4b09a0c041014100033df49de@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: jmreymond@gmail.com
  Subject: Re: [Maybe Spam] Some troubles with Access and bool
  In-Reply-To: <4b09a0c041014100033df49de@mail.gmail.com>
  References: <4b09a0c04101213324a920471@mail.gmail.com> <416D2AD9.6080406@us.michelin.com> <4b09a0c04101319045974ba15@mail.gmail.com> <4b09a0c041014100033df49de@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox