Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id F32732E035F for ; Mon, 17 Dec 2007 02:57:39 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 88956-01 for ; Mon, 17 Dec 2007 02:57:38 -0400 (AST) Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by postgresql.org (Postfix) with SMTP id 9DA932E2EE2 for ; Mon, 17 Dec 2007 02:57:36 -0400 (AST) Received: (qmail 1882 invoked from network); 17 Dec 2007 15:57:33 +0900 Received: from unknown (HELO ?127.0.0.1?) (100.0.32.117) by sd2.tpf-fw-c.co.jp with SMTP; 17 Dec 2007 15:57:33 +0900 Message-ID: <47661DD6.1060709@tpf.co.jp> Date: Mon, 17 Dec 2007 15:57:26 +0900 From: Hiroshi Inoue User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: lshafranovich@baisyaakov.net CC: pgsql-odbc@postgresql.org Subject: Re: weird vb6 odbc null problem References: <18411256.511331197653581482.JavaMail.servlet@perfora> In-Reply-To: <18411256.511331197653581482.JavaMail.servlet@perfora> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.349 tagged_above=0 required=5 tests=AWL=0.534, BAYES_40=-0.185 X-Spam-Level: X-Archive-Number: 200712/25 X-Sequence-Number: 9303 lshafranovich@baisyaakov.net wrote: > Hi, I'm a newbie to Postgres and ADO/ODBC programming. I have a weird problem. > I have a table called scoredata which every time I update (from VB6 via ODBC driver 08.02.0200 Postgres version 8.2.5) > a specific smallint field to null, it gets filled in with a 2, 4, or 6. Please try the more recent version (the latest version is 8.2.0500) of drivers. regards, Hiroshi Inoue