Received: from u1.abs.net (root@u1.abs.net [207.114.0.131]) by hub.org (8.8.8/8.7.5) with ESMTP id PAA15794 for ; Sun, 14 Jun 1998 15:32:20 -0400 (EDT) Received: from insightdist.com (nobody@localhost) by u1.abs.net (8.9.0/8.9.0) with UUCP id PAA02280 for pgsql-interfaces@postgreSQL.org; Sun, 14 Jun 1998 15:12:33 -0400 (EDT) X-Authentication-Warning: u1.abs.net: nobody set sender to insightdist.com!byronn using -f Received: from ceodev by insightdist.com (AIX 3.2/UCB 5.64/4.03) id AA32006; Sun, 14 Jun 1998 15:08:21 -0400 Received: from ppp0_ceodev by ceodev (AIX 4.1/UCB 5.64/4.03) id AA42938; Sun, 14 Jun 1998 15:08:20 -0400 Message-Id: <35841D2D.7EEFC440@insightdist.com> Date: Sun, 14 Jun 1998 14:57:50 -0400 From: Byron Nikolaidis X-Mailer: Mozilla 4.05 [en] (Win95; I) Mime-Version: 1.0 To: Matthew Cc: "'pgsql-interfaces@postgreSQL.org'" Subject: Re: [INTERFACES] MS Access can't insert with ODBC connection to PostgreSQL References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Matthew wrote: > Hello, I downloaded the latest ODBC driver for PostgreSQL from > http://www.insightdist.com/psqlodbc/ version number 06.30.0245. I got > this driver to work and show data from my database after editing the > pg_hba.conf file. However, I can't insert new records in the normal > access way. I can do these inserts when I connect to MS SQL server with > an ODBC driver in the same manner as above. Is this typical? Or do I > have something configured wrong? I unchecked both readonly checkboxes > in the ODBC config, but that had no effect. I was able to do a manual > insert query by hardcoding it. > In addition to the datasource not being read-only, Access requires a unique identifier to be able to update any records. The driver, by default, does not report unique identifiers automatically. Either you must enable the "recognize unique indexes" advanced driver option OR, if you are using Access 95 or 97, you can manually select the unique identifier while linking the table. Hope that helps. Byron