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

Поиск
Список
Период
Сортировка
Искать
От
Jean-Max Reymond
Тема
Re: [Maybe Spam] Some troubles with Access and bool
Дата
Msg-id
4b09a0c041014100033df49de@mail.gmail.com
Ответ на
Список
Дерево обсуждения
Some troubles with Access and bool Jean-Max Reymond <jmreymond@gmail.com>
Re: [Maybe Spam] Some troubles with Access and bool "Greg Campbell" <greg.campbell@us.michelin.com>
Re: [Maybe Spam] Some troubles with Access and bool Jean-Max Reymond <jmreymond@gmail.com>
Re: [Maybe Spam] Some troubles with Access and bool Jean-Max Reymond <jmreymond@gmail.com>
On Thu, 14 Oct 2004 04:04:27 +0200, Jean-Max Reymond
 wrote:
> On Wed, 13 Oct 2004 09:17:13 -0400, Greg Campbell
>  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
В списке pgsql-odbc по дате отправления
От: Jean-Max Reymond
Дата:
От: Fred Parkinson
Дата:
FAQ