Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id A70D99FB49E for ; Sun, 5 Aug 2007 19:27:27 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 27895-01 for ; Sun, 5 Aug 2007 19:27:23 -0300 (ADT) X-Greylist: whitelisted by SQLgrey-1.7.5 Received: from mail10.syd.optusnet.com.au (mail10.syd.optusnet.com.au [211.29.132.191]) by postgresql.org (Postfix) with ESMTP id 2DCB79FB48C for ; Sun, 5 Aug 2007 19:27:22 -0300 (ADT) Received: from [127.0.0.1] (online4-new.lnk.telstra.net [139.130.169.227]) (authenticated sender plengada@optusnet.com.au) by mail10.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id l75MRGvH007233 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 6 Aug 2007 08:27:19 +1000 Message-ID: <46B64E81.8020803@autoledgers.com.au> Date: Mon, 06 Aug 2007 06:26:09 +0800 From: Paul Lambert User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: pgsql-odbc@postgresql.org Subject: Re: Strange ODBC behavior. References: <46B288AF.60907@autoledgers.com.au> <46B2E981.5000902@autoledgers.com.au> <46B331EA.609@commandprompt.com> In-Reply-To: <46B331EA.609@commandprompt.com> 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: 200708/8 X-Sequence-Number: 9125 Andrei Kovalevski wrote: >> Any thoughts on this or is it more of an access issue? > 1) Could you post here CREATE script for one of the tables with problem > you descrived? #delete message appears when something happens to the > primary keys. > 2) What is the version of your MS Access? PostgreSQL? Unicode or ANSI > driver version? > 3) Please, have a look on the linked table structure as it's recognised > by MS Access. And post it here. > > > Andrei. > > > I believe I have found the problem. The primary key fields are defined in PG as type text, but MS access is bringing them across as type "memo" - whatever that is. It seems to be bringing most text type fields across like this. I changed them to varchar on one of the tables I'm having a problem with, relinked and they are coming across with a type of text on the fields now and I can see the data without issue. Strange... has anyone see that before? -- Paul Lambert Database Administrator AutoLedgers