Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 69A1B9FB1EF for ; Wed, 7 Mar 2007 22:27:55 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-new, port 10024) with ESMTP id 05510-01 for ; Wed, 7 Mar 2007 22:27:53 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from rrmailscan3.safenetbox.biz (unknown [203.25.40.75]) by postgresql.org (Postfix) with ESMTP id D375E9FA605 for ; Wed, 7 Mar 2007 22:27:51 -0400 (AST) Received: from rrmailscan3.safenetbox.biz (rrmailscan3.safenetbox.biz [127.0.0.1]) by rrmailscan3.safenetbox.biz (Postfix) with ESMTP id 056291D4844B for ; Thu, 8 Mar 2007 13:27:50 +1100 (EST) Received: from [172.17.2.41] (online4-new.lnk.telstra.net [139.130.169.227]) (Authenticated sender: remote) by rrmailscan3.safenetbox.biz (Postfix) with ESMTP id C66311D4845B for ; Thu, 8 Mar 2007 13:27:48 +1100 (EST) Message-ID: <45EF749F.5030107@autoledgers.com.au> Date: Thu, 08 Mar 2007 11:27:43 +0900 From: Paul Lambert User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: pgsql-odbc@postgresql.org Subject: Access violation - probably not the fault of Postgres Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200703/46 X-Sequence-Number: 8724 I've got an application written in VB which pipes updates to a database in Postgres. The application is written in MS Visual Basic 6.0 using DAO3.6 via ODBC. If a record exists in the PG database and my VB app therefore does an Edit/Update, it works without a problem. If the record doesn't exist and I therefore need to do an AddNew/Update my client application crashes with an access violation on the update. I'm relatively sure it's something on the VB side that is causing this and nothing to do with PG, but I'm just posting here in case anyone has some thoughts about potential causes within PG or its ODBC driver. Any thoughts would be welcome. Thanks, Paul. -- Paul Lambert Database Administrator AutoLedgers